|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Re: Gridview e.OldValues and e.NewValues are nothingIf 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. 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 |
|||||||||||||||||||||||