Home All Groups Group Topic Archive Search About

Re: Gridview e.OldValues and e.NewValues are nothing

Author
31 Aug 2007 1:48 PM
GeneB
If I am understanding you correctly, the reason e.NewValues and e.OldValues are not populated is that you are dynamically populating the gridview.  The e parameter relies on a design time datasource to populate these values. 

In order to make this work, you will have to programmatically grab the values from the edit and create an update.

Author
19 Nov 2007 4:39 PM
Rachna
Hi geneB,

I am actually trying to update the gridview at run time and hence my
GridViewEditEventArgs e goes blank as soon as I hit the update button. I am
able to trap the oldvalues before i start to edit using the static variable
concept but i cannot seem to find out the way to get the new values in the
gridview. Can you please guide me? Any help would be highly appreciated?

cheers!
rachna

AddThis Social Bookmark Button