The hashtable contains former values of the row's cells.
If the grid contains templated columns or is bound to some of the fields from the data source, the Values and Old Values must be updated to add those missing values.
You have to make sure that you aren't setting your Grid View's data when it is not postback.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.
A friend asked me to help him out on this and frankly it has me completely stumped as well.
w=230" data-large-file="https://taditdash.files.wordpress.com/2014/06/gridview-on-browser.png? w=230" src="https://taditdash.files.wordpress.com/2014/06/gridview-on-browser.png? w=800" alt="Grid View on Browser" class="size-full wp-image-335" srcset="https://taditdash.files.wordpress.com/2014/06/230w, https://taditdash.files.wordpress.com/2014/06/gridview-on-browser.png?When I hit Update, the changes are not saved, and there is no error message. When I hit Update, the changes are not saved, and there is no error message. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires. Yes, I did put the breakpoint at the Row Updating line (and not in the function).I put a breakpoint on the Row Updating event handler and found that the event is not fired. I put a breakpoint on the Row Updating event handler and found that the event is not fired. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.When you create a Grid View Update Event Handler delegate, you identify the method that will handle the event.To associate the event with your event handler, add an instance of the delegate to the event.