To use rowupdating
Double click on the Custom Validator control to go into the Server Validate event handler and write the following code in it. However, at times you many need more control and flexibility than that is provided by validation controls.
The Grid View Update Event Args class has three important collections - Old Values, New Values and Keys.
You can not attach validation controls directly to these Text Boxes.
To use rowupdating comments