If the Update button is clicked a postback ensues and the updating workflow unfolds:
The ListView raises its ItemUpdating event.
The ListView assigns the values supplied in the editing interface to the update parameters for its associated data source control.
The ListView assigns the key values for the row being updated to the update parameters for its associated data source control.
The ListView calls its associated data source control's Update method, which actually performs the update.
The ListView raises its ItemUpdated event handler.
The ListView sets its EditIndex property to -1.
The ListView rebinds to its data source.
Partager