Last post Jun 27, 2012 10:02 PM by Decker Dong - MSFT
Jun 26, 2012 05:12 PM|RichardLaw|LINK
If I use an ObjectDataSource, setup an update event handler, and bind the UpdateParameters - is there a way when calling the onupdating event to find out what the default binded values are?
Thanks as always
Jun 27, 2012 10:02 PM|decker dong - msft|LINK
is there a way when calling the onupdating event to find out what the default binded values are?
yes you can! Just handle the GridView_Updating event and there's an event called "e"---- It's type of GridViewUpdateEventArgs, it has a key property called NewValues or OldValues. And you can get the previous values through OldValues.