|
-
Jul 7th, 2004, 11:00 AM
#1
Thread Starter
Fanatic Member
condition
I would like to check for a field if it is null so that I don't get an error while populating data.
This is what I am using. It does not work. Can u c why please? thanks
lblArrivaltime.Text = (oDR["ArrivalTime"].ToString() == null) ? "" : oDR["ArrivalTime"].ToString();
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|