Standard Controls[14]->Label

The Label control displays text in a set location on the page. Unlike static text, the Text property of a label can be set programmatically. The following sample illustrates using the Label control.

C# Label1.aspx
Run Sample View Source

The following sample illustrates how to databind the Label control.

C# Label2.aspx
Run Sample View Source

posted on 2007-05-14 09:28  改变热爱  阅读(102)  评论(0)    收藏  举报

导航