select column_name from information_schema.columns where table_name='TableName'
foreach (DataColumn col in dtbl.Columns) { //col.Caption //col.DataType //col.ColumnName }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)