ObjectDataSourceView.DeleteParameters Property

Note: This property is new in the .NET Framework version 2.0.

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 */
public ParameterCollection get_DeleteParameters ()

public function get DeleteParameters () : ParameterCollection

Property Value

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 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: