A
Arek
I have the sub that is checking if value from the datareader is null. I
would like to pass textbox.text or dropdownbox.selectedvalue as first
parameter and value from data reader as a second parameter.
I cannot figure out what type is first parameter. (I am using ASP since
2 weeks and I don't know where to look for this kind of information)
Below is my sub. I would like to pass textbox.text(or
checkbox.selectedvalue) as objectname and datareader(data) as value.
Private Sub Check_Null(ByVal objectname As System.Object, ByVal value As
Object)
If IsDBNull(value) Then
objectname = ""
Else
objectname = value
Status.Text = objectname
End If
End Sub
Thank you
Arek
would like to pass textbox.text or dropdownbox.selectedvalue as first
parameter and value from data reader as a second parameter.
I cannot figure out what type is first parameter. (I am using ASP since
2 weeks and I don't know where to look for this kind of information)
Below is my sub. I would like to pass textbox.text(or
checkbox.selectedvalue) as objectname and datareader(data) as value.
Private Sub Check_Null(ByVal objectname As System.Object, ByVal value As
Object)
If IsDBNull(value) Then
objectname = ""
Else
objectname = value
Status.Text = objectname
End If
End Sub
Thank you
Arek