System.Web.UI.WebControls.ObjectDataSource.DeleteParameters Property

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

Syntax

[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.ComponentModel.DefaultValue(null)]
[System.ComponentModel.Editor("System.Web.UI.Design.WebControls.ParameterCollectionEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.MergableProperty(false)]
public ParameterCollection DeleteParameters { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The names and types of the parameters that are contained in the ObjectDataSource.DeleteParameters collection must match the names and types of the parameters in the ObjectDataSource.DeleteMethod method signature. The parameter names are affected by the ObjectDataSource.OldValuesParameterFormatString property and are case-sensitive. The parameters in the collection depend on the data that is in the data-bound control, the parameters that are specified declaratively, and the parameters that are added programmatically. For more information, see "Parameter Merging" in ObjectDataSource.Delete and Using Parameters with the ObjectDataSource Control.

The ObjectDataSource.DeleteParameters property retrieves the ObjectDataSourceView.DeleteParameters property that is contained by the System.Web.UI.WebControls.ObjectDataSourceView object that is associated with the System.Web.UI.WebControls.ObjectDataSource control.

For more information about parameter merging, object lifetime, and method resolution, see ObjectDataSource.DeleteMethod.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0