Gridview rowupdating oldvalues empty

When I update the Grid View, I am not able to see e. If the fields in the Grid View are set to Bind, I am able to retrieve e. When I click on the edit button the update and cancel button appear.There can be several approaches taken for validating data. For our example we are going to use Customers table of Northwind database. Open its smart tag and choose "Configure Data Source" option to start Configure Data Source wizard.

You can not attach validation controls directly to these Text Boxes.

A friend asked me to help him out on this and frankly it has me completely stumped as well.

I have a Grid View control and use old style manual binding with a Data Source property and invoke the Data Bind() method.

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.


Leave a Reply