Start Aspxgridview rowupdating error

Aspxgridview rowupdating error

The result should change your source line to look something like the following (in bold): All the tutorials mention that the Data Key Names entry is automatically added for you. Till now every thing is fine as I can edit only the column in the Edit Item Template but when I click the update button or link then my grid does not give me the edited new value but the old value is supplied in the paramter.

I am using the row Updating method as described in the blog, but the exception forces my code to stop the code in visual studio (like you would at a break point) and displays the message.

Once I click play again, the code carries on and the program continues.

A Grid View Updated Event Args object is passed to the event-handling method, which enables you to determine the number of rows affected and any exceptions that might have occurred.