Inserting multiple records into database when more than one checkbox in the gridview is selected and the user moves from one page to another
I have few checkboxes in the gridview.If I am checking multiple checkboxes in the gridview and then submit button is clicked, those records are inserted in to database.
But Suppose I check 3 checkboxes in the 1st page , then move to 5th page then check 4 checkboxes in the 5th page , then click the Submit button now.I want the entire 7 records should be inserted in to database instead of only last 4 records being inserted.How to achieve this by writind C#.net code please ?
Similar functionality I need for Delete as well along with Insert.