User Control And Master Page ASP.Net

<%@ Page Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" Title="Untitled Page" %>
 Runat="server">
    Enter your name:
    
         OnClick="Button1_Click" />
    
    


        

File: Default.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Default : System.Web.UI.Page
{
    protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text = "Hello " + TextBox1.Text + "!";
    }
}
File: Default.master
<%@ Master Language="C#" %>


    My Company Master Page


    
        
            
                
                    

My Company Home Page


                
            

            
                
                
            
            
                
                    Copyright 2006 - My Company