Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling Null Value In DataSet
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Handling Null Value In DataSet
Miscellaneous
Thread ID:
01432130
Message ID:
01432130
Views:
91
I'm doing this:
_RoleKey = (int)dsDataSet.Tables[0].Rows[0]["RoleKey"];
It's throwing an exception because RoleKey is null in the data. How do I handle this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform