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

rowupdating old values-29

If the values are alternated in the dictionary they are applied to the grid. The hashtable consists of the new values to be set on the row cells.

If the values are alternated in the hashtable they are applied to the grid and carried over to the data source as well.

The hashtable contains former values of the row's cells.

If the grid contains templated columns or is bound to some of the fields from the data source, the Values and Old Values must be updated to add those missing values.

If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google , Twitter, Linkedin and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox .

Stay tuned and stay connected for more technical updates.

I confirmed this using Reflector: protected virtual void On Row Updating(Grid View Update Event Args e) { bool flag1 = base.

Is Bound Using Data Source ID; Grid View Update Event Handler handler1 = (Grid View Update Event Handler) base.

aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.

Open Visual Studio 2008 and create a new Web Application.

I am not able to get the changed values that i enter in the grid view .