The Label control used to display text in a set location on a Web page, also it can customize the displayed text through the Text property.
Label1.Text = "Welcome to ASP.NET"
Label1.Text = "Welcome to ASP.NET";
The following ASP.NET program display a text in a Label control through its Text property.
Click the following links to see full source code