Ajax ASP.Net Tutorial

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


    Feedback


    
    

            id="sm1"
        Runat="server" />
            id="up1"
        Runat="server">
        
            id="frmFeedback"
        DataSourceId="srcFeedback"
        DefaultMode="Insert"
        Runat="server">
        
                    id="lblName"
            Text="Name:"
            AssociatedControlID="txtName"
            Runat="server" />
                    id="valName"
            Text="Required"
            ControlToValidate="txtName"
            Runat="server" />
        
                    id="txtName"
            Text='<%# Bind("Name") %>'
            Runat="server" />
        
                    id="lblComment"
            Text="Comment:"
            AssociatedControlID="txtComment"
            Runat="server" />
                    id="valComment"
            Text="Required"
            ControlToValidate="txtComment"
            Runat="server" />
        
                    id="txtComment"
            Text='<%# Bind("Comment") %>'
            TextMode="MultiLine"
            Columns="50"
            Rows="3"
            Runat="server" />
        
                    id="btnSubmit"
            Text="Submit"
            CommandName="Insert"
            Runat="server" />
        

    
    
            id="grdFeedback"
        DataSourceID="srcFeedback"
        AllowSorting="true"
        Runat="server" />
    

    
            id="srcFeedback"
        ConnectionString='<%$ ConnectionStrings:con %>'
        SelectCommand="SELECT Id,Name,Comment,DateSubmitted
            FROM Feedback"
        InsertCommand="INSERT Feedback (Name,Comment)
            VALUES (@Name,@Comment)"
        Runat="server" />