The example shown here is for a Grid View, but the same types of event handlers must be implemented in roughly the same way for other data controls including the Form View, Details View, and List View. This is the final Grid View markup, so you can see the event handlers we’re going to implement.
NET forums is how to deal with exceptions like The Grid View 'Grid View1' fired event Row Editing which wasn't handled.NET application by specifying command syntax at design time and, where possible, through the use of stored procedures. For example, the following code ensures that the deleted rows of the table are processed first, then the updated rows, and then the inserted rows. You must explicitly set the commands before calling event and setting the Status to Skip Current Row. NVar Char, 15, "Category Name") Dim parameter As Sql Parameter = _ adapter. This enables you to provide an event-handling method that performs a custom routine, such as checking the results of the update operation, whenever this event occurs.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. A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.