C
Craig
I have the following code in my code behind page for an apsx page...
If Not IsDBNull(DataSet1.tblMyTable(1).MyField) Then
'More Code
End if
It returns the following error - "Cannot get value because it is DBNull."
I can't even test for DBNull without an error.
How do I get around this?
If Not IsDBNull(DataSet1.tblMyTable(1).MyField) Then
'More Code
End if
It returns the following error - "Cannot get value because it is DBNull."
I can't even test for DBNull without an error.
How do I get around this?