SiteMap  | About    

Label Control

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";



<html xmlns="">
<head runat="server">
	<title>Untitled Page</title>
	<form id="form1" runat="server">
		<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

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

C# Source Code
VB.NET Source Code
default.aspx.vb (C) 2018    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.