Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
195 Points
775 Posts
Oct 21, 2008 07:25 PM|LINK
polynaux
Member
195 Points
775 Posts
Retrieving row with some empty colmns: Specified cast is not valid.
Oct 21, 2008 07:25 PM|LINK
Hi Guys,
I wonder how to avoid the invalid cast when
the column I retrieve is empty:
If dr.IsNull("Aer") = False Then LabelAer.Text = dr.Aer.ToString()
The above does not do the trick.
Thanks