How to transfer one DataGrid data to another DataGrid in VB.NET
How to transfer one DataGrid data to another DataGrid in VB.NET ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mayur DighePosted Feb 26, 2011, 11:39 AM
DataGridView2.DataSource=DataGridView1.DataSource
NOTE:
If this works, PLZ make this as ANSWER
John ArcadellaPosted Feb 23, 2011, 10:59 AM
If you want to transfer one row or selected rows, then you need to get SelectedRows from DataGrid and Import them into second DataGrid by inserting them in to the DataSource (DataSet or DataTable) or second DataGrid.