Rowupdating e newvalues

posted by | Leave a comment

When we edit a row in our Grid View and press the “Update” button, at some time it’s received in the Row Updating method.

But as I noted in the comments in that method, some collections that should contain the columns (names, old values and new values) are always empty. And the Row Updated method is never even touched!!! NET Forums that I need to use a Data Source control.

The New Values and Old Values collections are empty..means I can't do anything but display the orginal data again :( Does anyone else have this problem or a solution?

Check out what I’m trying to do, maybe you can help?If you don't use one of the Data Source controls, you are required to handle the Row Updating event. I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base. Yes, it does not work for me, however as you see I am using dynamically formatted grids so maybe it will work for you - if you have your grid defined in the Let me know R e.newvalues still looking at the e.oldvalues collection in gridview rowupdating event I am using 2.0. Here is some relevant code - this is the Grid in - nothing specified so if any changes occur in the underlaying DB no aspx changes will be required (the idea that is being tested) That should give you back a valid Values collection.

Leave a Reply

onlinedatingfornaturists com