DataTable dt = new DataTable(); dt.Columns[0].ColumnName()
SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'tablename'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)