System.Web.UI.WebControls.AutoGeneratedFieldProperties.DataField Property

Gets or sets the name of the field bound to the System.Web.UI.WebControls.AutoGeneratedField object.

Syntax

public string DataField { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the AutoGeneratedFieldProperties.DataField property to specify the name of the data field to bind to the System.Web.UI.WebControls.AutoGeneratedField object. The System.Web.UI.WebControls.AutoGeneratedField object automatically displays the values in the appropriate control, based on the AutoGeneratedFieldProperties.Type property. For example, bool values are displayed in check box controls, while string values are displayed as plain text.

Requirements

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