Start Net gridview rowupdating event

Net gridview rowupdating event

Out of these events Row Updating and Row Deleting are possibly the most common ones.

Click on the Edit button of the Grid View so that it goes into the edit mode.

In our example we will illustrate the use of Updating event for the validation purpose.

Add Grid View1_Row Updating event handler as shown below: The Row Updating event handler receives an event argument of type Grid View Update Event Args.

Inside the event handler we added two validation conditions: We used the New Values collection to check the entered country.