Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with datacolumn
Message
De
20/12/2006 17:58:43
 
 
À
20/12/2006 16:44:56
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01179364
Message ID:
01179383
Vues:
7
>How I make to I know if a datacolumn exist in datatable

The easiest way:

if (MyDataTable.Columns.Contains("MyDataColumn"))
\\ contains the column

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform