This example demonstrates how to use the ASPxGridView control's batch edit mode events to update a custom object data source stored in the session.
When a Grid View is bound to an object data source at runtime, you need to implement the CRUD logic required to edit data. To do this, use one of the following options:
-
Handle the ASPxGridView's RowInserting, RowUpdating, and RowDeleting events.
This technique allows you to handle each CRUD operation type in a separate event handler.
-
Handle the BatchUpdate event.
Use this technique to process all operations in a single handler.
- Default.aspx (VB: Default.aspx.vb)
- Default.aspx.cs (VB: Default.aspx.vb)