Asp net gridview rowupdating newvalues empty

Posted by / 29-Jun-2020 21:39

Now on clicking update link it fires Row Updating method and there i found e.newvalues.count = 0. Thank you for taking interest in this matter Allen.

I am using custom business objects and am loading a collection of them my self and binding the collection to the Grid VView as needed.

It is only the answer if you never change the header text in the gridview.

The asker of the question wanted to get the database field name by index.

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.