Aspxgridview rowupdating tutorial

event is raised when a row's Update button is clicked, but before the Grid View control updates the row.This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.

One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").

Basically all I am trying to do is take a couple of the values and change them before inserting or updating for instance if I just wanted to overide this valuee.

New Values["netweight"] from Null (as the field is hidden) to a value say 50 how would I do it? Can I please ask for a good tutorial / arcticle that shows how I can capture onchanging event of fields so that I can populate other fields based on values?

He began his acting career performing in school plays at Beverly Hills High School.

I am trying to display an error message in the edit section of a ASPx Grid View when a user has tried to submit invalid data.

Leave a Reply