How to databind Label in asp.net

asp.net example - label databind
label-databind.aspx

<%@ Page Language="C#" AutoEventWireup="true"%>  
    
<!DOCTYPE html>
      
<script runat="server">
    protected void TextBox1_TextChanged(object sender, System.EventArgs e)
    {
        Page.DataBind();
    }  
</script>      
      
<html xmlns="http://www.w3.org/1999/xhtml">      
<head id="Head1" runat="server">      
    <title>asp.net example - label databind</title>
</head>      
<body>      
    <form id="form1" runat="server">      
    <div>      
        <h2 style="color:MidnightBlue; font-style:italic;">      
            asp.net example - label databind
        </h2>      
        <hr width="550" align="left" color="Gainsboro" />      
        <asp:Label       
            ID="Label1"       
            runat="server"      
            Text='<%# TextBox1.Text %>'
            Font-Size="XX-Large"
            ForeColor="HotPink"
            >      
        </asp:Label>      
        <br /><br /><br />
        <asp:TextBox 
            ID="TextBox1"
            runat="server"
            OnTextChanged="TextBox1_TextChanged"
            AutoPostBack="true"
            Width="250"
            >
        </asp:TextBox>
    </div>      
    </form>      
</body>      
</html>
More asp.net examples