System.Web.UI.WebControls Namespace ListItem Class
Sets or retrieves the value associated with the ListItem.
Inline |
<asp:listitem value = strValue ... > |
Script |
ListItem.Value = strValue |
strValue |
The value associated with the ListItem. |
The property is read/write with no default value.
Use the Value property to specify or determine the value associated with the ListItem.
NOTE: If the Value property contains a null reference ( Nothing in Visual Basic ), the get accessor returns the value of the Text property. If the Text property in turn contains a null reference, an empty string is returned.
ListItem Members