This documentation is archived and is not being maintained.

ObjectDataSourceView.DeleteParameters Property

Gets the parameters collection that contains the parameters that are used by the DeleteMethod method.

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

public ParameterCollection DeleteParameters { get; }

Property Value

Type: System.Web.UI.WebControls.ParameterCollection
A ParameterCollection that contains the parameters used by the method specified by the DeleteMethod property.

The names and types of the parameters that are contained in the DeleteParameters collection must match the names and types of the parameters that are in the method specified by the DeleteMethod property signature. The parameter names are affected by the OldValuesParameterFormatString property and are case sensitive. When working with data-bound controls that supply parameters, such as GridView and DetailsView, the ObjectDataSource control automatically merges any parameters that are explicitly specified in the collection with those parameters that are provided by the data-bound control.

For more information, see DeleteMethod.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0