asp.net.ph

ListItem.Value Property

System.Web.UI.WebControls Namespace   ListItem Class


Sets or retrieves the value associated with the ListItem.

Syntax


Inline <asp:listitem value = strValue ... >
Script ListItem.Value = strValue

Property Value


strValue The value associated with the ListItem.

The property is read/write with no default value.

Remarks

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.

See Also

ListItem Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note