Answers for "c# datatable copy selected rows to another table"

C#
3

c# datatable copy selected rows to another table

foreach (DataRow dr in dataTable1.Rows) {
    if (/* some condition */)
        dataTable2.Rows.Add(dr.ItemArray);
}
Posted by: Guest on February-24-2020

Code answers related to "c# datatable copy selected rows to another table"

C# Answers by Framework

Browse Popular Code Answers by Language