Answers for "data in datatable rows"

1

datarow to datatable

if (dr.Length > 0)
    DataTable dt1 = dr.CopyToDataTable();
Posted by: Guest on June-18-2021
0

data rows to datatable c#

foreach (DataRow row in rowArray) {
   dataTable.ImportRow(row);
}
Posted by: Guest on September-07-2021

Browse Popular Code Answers by Language