0

Implementation of methodology which looks similar to this DataTable1.Rows.InsertAt(DataTable2.Rows[0], position);

Garuda prasad K
  • 332
  • 3
  • 8
  • Possible duplicate of [Copy rows from one Datatable to another DataTable?](https://stackoverflow.com/questions/4020270/copy-rows-from-one-datatable-to-another-datatable) – default locale Jul 03 '19 at 03:12

1 Answers1

0

The method is just simple as

       `DataRow DataRow2 = DataTable2.NewRow();
        DataRow2.ItemArray = DataTable1.Rows[_oneIndex].ItemArray;
        DataTable2.Rows.InsertAt(DataRow2, position);`
Garuda prasad K
  • 332
  • 3
  • 8