DataList.SelectedValue Property
.NET Framework 3.0
Gets the value of the key field for the selected data list item.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public Object get_SelectedValue ()
public function get SelectedValue () : Object
Not applicable.
Property Value
The key field value for the selected data list item. The default is a null reference (Nothing in Visual Basic), which indicates that no data list item is currently selected.| Exception type | Condition |
|---|---|
| The DataKeyField property has not been set. |
Community Additions
ADD
Show: