| |||||||||||||||||
Label.Text PropertySystem.Web.UI.WebControls Namespace Label Class Sets or retrieves the text displayed for a Label control. Syntax
Property Value
The property is read/write with no default value. RemarksUse the Text property to specify or determine the content displayed in a Label control. The text of a label control can contain HTML, such as an image tag. In certain cases, as when labels are used within templated controls, the Text property is usually obtained dynamically from a data source. ExampleThe following shows how you can programmatically set the Text property of a Label control at run time, based on user input.
The following examples demonstrate how to dynamically bind the Text property of Label controls defined within templates.
See Also |
| ||||||||||||||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme