Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling Null Value In DataSet
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Handling Null Value In DataSet
Divers
Thread ID:
01432130
Message ID:
01432130
Vues:
89
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform