DataTable table = new DataTable("users"); table.Columns.Add(new DataColumn("Id", typeof(int))); table.Columns.Add(new DataColumn("Name", typeof(string))); table.Rows.Add(1, "abc"); table.Rows.Add(2, "ddd"); table.Rows.Add(3, "fff"); table.Rows.Add(4, "hhhd"); table.Rows.Add(5, "hkfs");
Id,Name, 1,abc, 2,ddd, 3,fff, 4,hhhd, 5,hkfs,
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)