System.Web.UI.WebControls.FormParameter.FormField Property

Gets or sets the name of the form variable that the parameter binds to.

Syntax

[System.ComponentModel.DefaultValue("")]
public string FormField { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The FormParameter.FormField identifies a name/value pair that is passed in the System.Web.HttpRequest.Form collection. While the FormParameter.FormField property identifies the name of the pair, the System.Web.UI.WebControls.FormParameter binds to its corresponding value at run time. If the expected form variable string name/value pair is not passed to the ASP.NET Web page in the collection, the FormParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method binds the parameter to the value of the Parameter.DefaultValue property, if it is set. If the Parameter.DefaultValue is not set, the FormParameter.Evaluate(System.Web.HttpContext, System.Web.UI.Control) method fails to bind the parameter to a value.

Requirements

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