Label Control in asp.net

 For Example : Write a program to demonstrate the use Label Control 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication7._Default" %>

<html >

<head runat="server">

    <title>Untitled Page</title>

</head>

<body>

    <form id="form1" runat="server">

    <div>

    <asp:Label ID="Label1" runat="server" Text="Wel Come to Aryan Computers, Barshi">

    </asp:Label>

    </div>

    

    </form>

</body>

</html>

Output:



Comments

Popular posts from this blog

simple program C#

Regular Expression Validator Control in asp.net

two dimension array in C#