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

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

Java - Returning an array from a method to main -