System.Web.UI.WebControls.ListControl.DataValueField Property

Gets or sets the field of the data source that provides the value of each list item.

Syntax

[System.ComponentModel.DefaultValue("")]
[System.Web.UI.Themeable(false)]
public virtual string DataValueField { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to specify the field that contains the value of each item in a list control.

The value of this property is stored in view state.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0