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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph