P
Paperback Writer
Hi I have around 40 columns from my PROC and i need to return as a DataTable
but if very difficulty to me add the columns in DataTable manually...Is
there a way to accomplish that dinamically ?
Manually:
dt.Columns.Add(new DataColumn("col_1"));
dt.Columns.Add(new DataColumn("col_2")); AND SO ON...
How do i do dinamically without be one by one ?
but if very difficulty to me add the columns in DataTable manually...Is
there a way to accomplish that dinamically ?
Manually:
dt.Columns.Add(new DataColumn("col_1"));
dt.Columns.Add(new DataColumn("col_2")); AND SO ON...
How do i do dinamically without be one by one ?