c# - How do I move row from one DataGridView to another DataGridView? -
i have 2 datagridviews have same column schema (although 2 different dataviews datasource - if matters). best/quickest way move row 1 datagridview other?
i believe if have row in datatable table1 , want add datatable table2 this:
table2.rows.add(row.itemarray);
then have remove row this:
table1.rows.delete(row);
this pseudo code should work, did in past.
of course works if both tables have same schema, mentioned.
Comments
Post a Comment