Message
From
20/12/2006 17:58:43
 
 
To
20/12/2006 16:44:56
General information
Fórum:
ASP.NET
Category:
Miscellaneous
ID da thread:
01179364
ID da mensagem:
01179383
Views:
9
>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
Responder
Mapa
View