pae
3
Q:

c# datatable copy selected rows to another table

foreach (DataRow dr in dataTable1.Rows) {
    if (/* some condition */)
        dataTable2.Rows.Add(dr.ItemArray);
}
0

New to Communities?

Join the community