A
Atley
I am having a few small problems and I don't really get what to do.
I am trying to populate some lable controls with data from a sqlce
database... Some of the values are Dates, some are currency, and some are
SmallIntegers, and some of the fields contain Null data. I am getting
exceptions when just placing them in the .Text property of the labels.
Any help in finding out how to check for null, I am currently looking at the
len of the datafield, it doesn't look like it is working for all the
situations...
Also, I am not sure if i can just apply the data directly to the .Text
property of the labels or do I have to either convert them to string (I am
not sure what is best method to do this) or do I have to load them into
variables and then convert them to string that way....
Any help would be appreciated..
Atley
I am trying to populate some lable controls with data from a sqlce
database... Some of the values are Dates, some are currency, and some are
SmallIntegers, and some of the fields contain Null data. I am getting
exceptions when just placing them in the .Text property of the labels.
Any help in finding out how to check for null, I am currently looking at the
len of the datafield, it doesn't look like it is working for all the
situations...
Also, I am not sure if i can just apply the data directly to the .Text
property of the labels or do I have to either convert them to string (I am
not sure what is best method to do this) or do I have to load them into
variables and then convert them to string that way....
Any help would be appreciated..
Atley