Rowupdating and rowupdated

Posted by / 29-Apr-2020 08:45

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.

The following SQLite Row Updated Event Args properties provide information specific to this event.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.To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.Figure 1 graphically depicts this series of events.Figure 1: When Two Users Simultaneously Update a Record There s Potential for One User s Changes to Overwrite the Other s (Click to view full-size image) Similarly, when two users are visiting a page, one user might be in the midst of updating a record when it is deleted by another user.

rowupdating and rowupdated-82rowupdating and rowupdated-84rowupdating and rowupdated-31

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.