how to added in two grid view [Resolved]

Posted by Mp.Ravi under VB.NET on 3/2/2012 | Points: 10 | Views : 1609 | Status : [Member] | Replies : 1
in my webform there are two gridviews and add button and one clear button
In first gridview afterbinding data from database i have to placed check box,and header checkbox in firstgridview
so when i check the checkboxes and when i clck the add button the selected records should be added to second gridview and when i check the header checkbox all records should displyed in second gridview
and when i click the clear button records in second grid view should be cleared
how to write code for this plz plz help me


Posted by: Blessyjees on: 3/2/2012 [Member] Bronze | Points: 50



when you click on the add button, you sould add all selected rows information to the DataTable and bind this datatable to the second grid. Delte all rows from the datatable and bind that to grid while click on the clear button.

Blessy Baby
Digitalmesh Softech pvt Ltd

Mp.Ravi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response