Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with datacolumn
Message
From
20/12/2006 17:58:43
 
 
To
20/12/2006 16:44:56
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01179364
Message ID:
01179383
Views:
6
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform