A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
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).
Every one can use it to compare the new value with old ones.
event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.
The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.
The Grid View 'Grid View1' fired event Sorting which wasn't handled.
The required actions for paging to work are setting the new page index, setting the Data Source, and calling Data Bind (the last two through the Bind Data method).
In addition to that, we’re resetting the Edit Index and Selected Index when the page is changed to avoid cases, for example, where you change pages and are suddenly editing a different item.
When you manually bind the Grid View, this tracking does not occur, so we must implement some mechanism for tracking those values.
We also want it to be something persistent, so that, for example, if you sort, then page, the sort is maintained.
A Grid View Updated Event Args object is passed to the event-handling method, which enables you to determine the number of rows affected and any exceptions that might have occurred.