Devexpress gridview rowupdating error upmarket speed dating
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.
You can also indicate whether the exception was handled in the event-handling method by setting the On Row Updated Row Canceling Edit On Row Canceling Edit Row Deleted On Row Deleted Row Deleting On Row Deleting Row Editing On Row Editing Row Updating On Row Updating Grid View Class System.
Once I click play again, the code carries on and the program continues.
How do I stop the application from stopping once the exception has been called and carry on.
i am using devexpress grid with edit functioality to update the records in the gridview the codeis being done in & c#but while clikcing the update after editing the records .
Note that the result of handling the Validate Row event can be overridden by handling the Invalid Row Exception event.
After either inserting new row or updating an existing row, I have to show a message box saying "Your update has been saved successfully". I event tried to set the text value of a asp: Literal control.
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.