共用方式為


Label Web Server Control

The Label Web server control provides a way to display text programmatically control in an ASP.NET Web page.

NoteNote

If you want to display static text, you can present it using HTML; you do not need a Label control. Use a Label control only if you need to change the contents or other characteristics of the text in server code.

The following topics provide information on working with the Label Web server control.

In This Section