Option to access the Column Names in Data table

Here is the option to access the column (header) name of a datatable.

 

DataSet ds = new DataSet();

ds.Tables[0].Columns[0].ColumnName


Cheers,
Venkatesan Prabu .J
Head, KaaShiv InfoTech
For free Ebook : http://kaashivinfotech.com/Ebooks.aspx