QueryableDataSourceView::ExecuteDelete Method (IDictionary^, IDictionary^)

.NET Framework (current version)
 

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:
virtual int ExecuteDelete(
	IDictionary^ keys,
	IDictionary^ oldValues
) override

Parameters

keys
Type: System.Collections::IDictionary^

The keys of the rows to delete.

oldValues
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
Available since 4.0
Return to top
Show: