ASP Net Controls ASP.Net Tutorial

<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    protected void btnSubmit_Click(object sender, ImageClickEventArgs e)
    {
        lblResults.Text = "First Name: " + txtFirstName.Text;
        lblResults.Text += "Last Name: " + txtLastName.Text;
    }



    Show ImageButton


    
    

            id="lblFirstName"
        Text="First Name:"
        AssociatedControlID="txtFirstName"
        Runat="server" />
    
            id="txtFirstName"
        Runat="server" />
    
            id="lblLastName"
        Text="Last Name:"
        AssociatedControlID="txtLastName"
        Runat="server" />
    
            id="txtLastName"
        Runat="server" />
    
            id="btnSubmit"
        ImageUrl="http://www.rntsoft.com/style/logo.png"
        AlternateText="Submit Form"
        Runat="server" OnClick="btnSubmit_Click" />
    
            id="lblResults"
        Runat="server" />