Create a column in the DataTable

Santosh0683
Posted by Santosh0683 under ASP.NET category on | Views : 1645
DataTable dt = new DataTable();
DataColumn name = new DataColumn("EmpName", typeof(string));
dt.Columns.Add(name);

Comments or Responses

Login to post response