Rowupdating old


28-Oct-2019 03:37

After searching long and hard I found a great article that solved my issue.

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.

For example, you can use these values to keep a log of updated records.

The Old Values property returns an object that implements the System.

This allows you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

This allows you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs I get the same problem.

"slemen" wrote: The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

I am using and Array List of my own Objects with public Get/Set methods (c# style).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). The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row.* * Copyright (c) 2012 Yannick Albert ( * Licensed under the MIT license (

Use the Old Values property to access the original field values for the updated record. When all you've got is a Hammer, Every Problem looks like a Nail.