page.cs
private void datatable()
{
Datatble dt=new datatable;
dt.column.add("ID",typeof(string));
dt.column.add("name",typeof(string));
dt.rows.add("1","Aliean);
dt.rows.add("2","Manu");
}
Thanks
sreejesh
Dynamic Datatable
How to create a datatable and insert value in runtime.


Join the conversation! Your thoughts help the community grow.