Advertisement

Latest Post

Tuesday, 27 September 2016

how to get DataSet table column Name c#

Hellow guys, I am sharing the simple code to get data-set table column name using c#

List<string> myCollection = new List<string>();

foreach (DataColumn column in result.Tables[0].Columns)
{
  myCollection.Add(column.ColumnName);

}

Government Jobs