Adding records from one grid to another

CGK

Member
Joined
Jul 31, 2007
Messages
7
Programming Experience
Beginner
Hi All!

I'm new to VB.NET coding!

Can anyone guide me how I can add selected records from one data grid to another data grid ?

Any suggestions/pointers would be very helpful!

TIA.

CGK.
 
Are you really using a DataGrid or is it actually a DataGridView? Please be careful to use the correct names as they are not the same thing. If you are using a DataGrid then I suggest you switch unless there's a specific reason not to.
 
You dont add rows into grids; that's like.. 1980s thinking. The rows are stored in a datatable, the grid only shows them. Move the rows between tables, or based both grids on the same table. You can filter each grid individually if you need so they show different rows fromt he same table
 
Back
Top