asp.net.ph

Skip Navigation Links

Label Web Server Control

Web Forms Server Controls   Controls You Can Use on Web Forms   ASP.NET Standard Controls


The Label Web server control provides a way to programmatically display text in a Web Forms page.

NOTE: You need not use a Label control to display static text, which can simply be presented using HTML. Use a Label control only if you need to change the content or other characteristic of the text at run time.

The following topics provide information that you will find useful in learning to work with the Label control.

In This Section


Content
Introduction to the Label Control
Provides background information on the Label control.
Adding Label Controls to a Web Forms Page
Gives directions for placing a Label control on a page.
Using Label Controls as Captions
Gives directions for associating a Label control to other controls.

Related Sections


Content
Setting Web Server Control Properties Programmatically
Gives directions for specifying Web server control properties in code.
Web Forms Server Controls and CSS Styles
Gives directions for applying styles to change how controls are displayed.
Web Forms Data Binding
Provides basic conceptual information about binding data to Web Forms.

See Also

Label Class   Label Control Syntax



© 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