Add datarow or arrayRow at specific position in datatable

YourDatatable.Rows.InsertAt(newRow, index_where_you_wants_to_insert); // index 2
YourDatatable.Rows.InsertAt(newRow1, index_where_you_wants_to_insert); // index 0

InsertNewRow.xaml (7.1 KB)

1 Like