in vb6 there was Null and IsNull that we could use, but I dunno how to it in VB.Net. For example how can I check to see if the image of a picturebox is null or not?
thanks in adance:)
Printable View
in vb6 there was Null and IsNull that we could use, but I dunno how to it in VB.Net. For example how can I check to see if the image of a picturebox is null or not?
thanks in adance:)
Try using "Is Nothing".
I'm not sure as I'm not at my computer.
For datatypes you can use ex: if myString = System.DBnull.Value then....