I want a gridview that having “ACCEPT” button then after clicking it. I want the accepted record to be moved or transferred in another gridview which is located in another page?
I already have two gridviews:
Gridview1 named PendingRecordsGridview.
Gridview2 named AcceptedRecordsGridview.
I already made a register.aspx page that after clickng register button, It will send the data in PendingRecordsGridview. And It works! And now, Like i said. I want to add “ACCEPT” button in that gridview, so after clicking the accept button. The record will be transfer to AcceptedRecordsGridview (another page) please! Help!
Refer this.. i have tested it..
things you have to keep in mind..
you have to create two different tables for your two gridview.. but those table design should be same of tbl1 and tbl2.. in tbl1 make one field as primarykey and make it auto-incremented
don’t keep any primarykey or and auto-incremented field in tbl2
here on accept button first data will be inserted in to tbl2 and then delete from original table tbl1
page.aspx file
now page.aspx.cs file
now just take another page.. and bind it with tbl2 which will be having records which are approved…
feel free to ask regarding this.. and mark it as answer if u found it helpful