Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Reading DataRow Value
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Problem Reading DataRow Value
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01352048
Message ID:
01352048
Vues:
70
I'm reading the value of a column in a dataset into a textbox:
txtAuthor.Text = (string)oDataSet.Tables[0].Rows[0]["Author"];
On some records, the Author is null, so I get a cast exception. Can someone help a newbie?
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