Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExecuteDelete Method

QueryableDataSourceView.ExecuteDelete Method

.NET Framework 4.6 and 4.5

Performs a delete operation on data items that the QueryableDataSourceView object represents by using the specified values.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected override int ExecuteDelete(
	IDictionary keys,
	IDictionary oldValues


Type: System.Collections.IDictionary

The keys of the rows to delete.

Type: System.Collections.IDictionary

The row values to evaluate in order to detect data conflicts.

Return Value

Type: System.Int32
The number of objects or rows that were deleted from the data source.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft