A
Anonymous
Which of the following codes is recommended?
Is there any difference between them?
If TypeOf dr("colname") Is DBNull Then
' Do work
End If
If IsDBNull(dr("colname")) Then
' Do work
EndIf
Is there any difference between them?
If TypeOf dr("colname") Is DBNull Then
' Do work
End If
If IsDBNull(dr("colname")) Then
' Do work
EndIf