Gridview on rowupdating

When a Customer Address row is deleted, the corresponding Grid View row disappears.Referential integrity constraints would make the code for an example that actually deletes rows from the Customer table more complex.For information about how to set up the Adventure Works LT database, see How to: Set Up an Adventure Works LT Sample Database for ASP. The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row. Page //default1Dear Karthicks Thank you very much for pointing it out.. ' I am marking this also as answer,,let other less understanding guys like me benefit..

EDIT: I found a piece of code in the comments of this blog: I was doing databinding in my Page_Load event and when I clicked "Update" the Post Back was done, so was the Page_Load event fired.

Dear All, In Row Updating event of a Grid View I am trying to update the database picking the values of bound text Boxes in the Edit Item Templates. I confirmed update works by giving some other text vlaues instead of those retrieved from TB1, TB2, and TB3. I checked your code, it is working very good; below example of the code I used here...