If we move our mouse on to the variables, which hold the cell values, we can see the old value instead of new updated value (Refer the debugging Screen Shot at the Top).
before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).
To cancel the update operation, set the Cancel property of the Grid View Update Event Args object to true.
You can also manipulate the Keys, Old Values, and New Values collections, if necessary, before the values are passed to the data source.
Every one can use it to compare the new value with old ones.
After searching long and hard I found a great article that solved my issue.
Data; namespace Daily Readiness Picking this project up again after a long hiatus. When I am editing values in a row, and click on update, the text I just type in goes away. Should I be writing my changes while editing to that?
HTML CODE: C# Code Behind: private void Bind Data() protected void gv Categories_Row Editing(object sender, Grid View Edit Event Args e) protected void gv Categories_Row Updating(object sender, Grid View Update Event Args e) does a template field allow you to get around indexing?
The gridview lists the item name an integer that is unique to that record in the table as a link. The problem I am having is that I would like to click the link to update that record.
I get the following The Grid View 'gdv Products Performed' fired event Row Updating which wasn't handled.
Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.
event is raised when a row's Update button is clicked, but after the Grid View control updates the row.