System.Web.UI.WebControls.DataList.SelectedItem Property

Gets the selected item in the System.Web.UI.WebControls.DataList control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public virtual DataListItem SelectedItem { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DataList.SelectedItem property to get a System.Web.UI.WebControls.DataListItem object that represents the selected item in the System.Web.UI.WebControls.DataList control. This object can then be used to access the properties of the selected item.

Requirements

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