Rowupdating findcontrol textbox

12-Jun-2016 21:02

Forgive me for the variation in my code formatting I'm trying to find the right one.If we look at this event we can see the Grid View nicely packages for us the new values, old values and the keys for the updating row.Unfortunately these dictionaries are only filled out if you are bound to a datasource control :(.So that means when you bind to some raw collection and hook up to the Data Source property then call databind, if you try to handle the delete or update events these dictionaries are going to be empty.

I have a gridview which will populate at Page Load. Every one can use it to compare the new value with old ones.