Performs an asynchronous insert operation on the list of data that the System.Web.UI.DataSourceView object represents.
- callBack
- Documentation for this section has not yet been entered.
- values
- An IDictionary of name/value pairs used during an insert operation.
The DataSourceView.Insert(IDictionary, DataSourceViewOperationCallback) method is the asynchronous data insertion interface for all data source view objects. The DataSourceView.Insert(IDictionary, DataSourceViewOperationCallback) method calls the DataSourceView.ExecuteInsert(IDictionary) method using any 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.ExecuteInsert(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.ExecuteInsert(IDictionary) method call.