Hi All,
I have 2 gridview.
grid1 having 5 cols: A B C D E
grid2 having 5 cols: P Q R S T
i am binding same data from grid1 to grid2, but in grid2 for col Q i have placed a text box with clear and save button . the textbox of col Q will have same data as of B from grid1.
Requirement:
Clear button should delete the data both from text box of grid as well as db.
Save button must insert the new data to text box of grid as well as db.
can anyone help me please??
Thanks in advance..
Deleting and Updating to database
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Vijay YadavRank #1,637 · 943 reputationPosted Dec 27, 2011, 12:02 AM EST
You can delete the data from the database and then bind the gridview once again and you get the updated data from the database and same with the save button.