Performs an asynchronous update operation on the list of data that the System.Web.UI.DataSourceView object represents.
- callBack
- Documentation for this section has not yet been entered.
- keys
- An IDictionary of object or row keys to be updated by the update operation.
- values
- An IDictionary of name/value pairs that represent data elements and their new values.
- oldValues
- An IDictionary of name/value pairs that represent data elements and their original values.
The DataSourceView.Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) method is the asynchronous data modification interface for all data source view objects. The DataSourceView.Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) method calls the DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary) method using any keys, values, and oldValues parameter values supplied. The callback parameter is a delegate that a data-bound control passes to the data source view, which is used to notify the data-bound control when the DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary) operation has completed. The method uses the parameters of the System.Web.UI.DataSourceViewOperationCallback delegate to return the number of affected records and any Exception exception that is thrown by the DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary) call.