Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In this situation, I have two grids, one of which is bind with the database. I want to show the data selected from the bind grid into the second grid. Plz show me some way.
Posted

One of the solution can be, fire the selected index event of one grid.
and finding that controls in that row.
add these control's value to the datatable with which u r binding the grid by adding new row to the datatable.
and then again bind the grid.


Hope it will help You.
 
Share this answer
 
Hi,
In following link selected data of a GridView is displayed in a DetailsView. You can use a GridView in the place of the DetailsView:
idpkshr.wordpress.com/2012/02/17/creating-master-detail-form-using-gridview-and-detailsview-in-asp-net/
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900