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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: