J
John
Hi
What is a good general way to check for null values? I really miss Is Null.
Regards
What is a good general way to check for null values? I really miss Is Null.
Regards
John said:Hi
What is a good general way to check for null values? I really miss Is Null.
Regards
Another poster cited IsNothing(), but there's also System.DBNull:
If rowTest("testcol") Is System.DBNull.Value Then
Cor Ligthert said:Hi Ross,
It is confussing however this is not a textbox.text, this is an object while
the textbox.text is a String (as well an object however not of the same
type).
Therefore your answer is can only be regular when it is binded to the
dataset, and probably for a lot a little bit late moment to test the value,
however I think that there are a lot of scenario's where it can be a right
one. (Altough with this is in my opinion is better to use the binding
events).
I hope this helps?