In rowupdating in

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

My issue is, I need to be able to grab the value that the user enters in the "Description" field, and append some more data to it before the row is updated. Create a row object for the currently edited row, find the checkbox you want to control, then set the Visib...

in rowupdating in-20in rowupdating in-29in rowupdating in-20

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.

Otherwise missing cells will be nulled out by the auto update operation. The dictionary consists of the new values to be set on the row's unbound cells.

In case of the bound field’s we need to check what column it is and need to use index of that cloumn, which is little hard and even in future if we change the column order If you see the Last Template Field part in the above code, I am using the link buttons for edit, update, delete and cancel.

May be you may think why am I using link buttons as we are provided with some command field buttons by Grid View.

It displays 2 columns Contact Name and City of which city is editable via ASP. The identifier column Customer Id is bind to the Data Key Names property.