Performs a delete operation using the SqlDataSourceView.DeleteCommand SQL string, any parameters that are specified in the SqlDataSourceView.DeleteParameters collection, and the values that are in the specified keys and oldValues collections.
- keys
- An IDictionary of object or row key values for the SqlDataSourceView.ExecuteDelete(IDictionary, IDictionary) operation to delete.
- oldValues
- An IDictionary that contains row values that are evaluated only if the SqlDataSourceView.ConflictDetection property is set to the System.Web.UI.ConflictOptions.CompareAllValues value.
A value that represents the number of rows deleted from the underlying database.
The SqlDataSourceView.Delete(IDictionary, IDictionary) method calls the SqlDataSourceView.ExecuteDelete(IDictionary, IDictionary) method, passing the keys and oldValues parameters.