G
Guest
I have the follow asignment: txtDescription.Text = dtrSlb("slbDesc2")
If the field returned is Null i get a run time error.
I can check for if (dtrSlb("slbDesc1").GetType.ToString() = "System.DBNull")
then .... But there has to be a better way.
Aslo what's the best way t oget the length of the returned field from a query?
Thanks for help on this simple question
kes
If the field returned is Null i get a run time error.
I can check for if (dtrSlb("slbDesc1").GetType.ToString() = "System.DBNull")
then .... But there has to be a better way.
Aslo what's the best way t oget the length of the returned field from a query?
Thanks for help on this simple question
kes