Data Binding ASP.Net Tutorial

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


    Show Links


    
    

            id="Repeater1"
        DataSourceId="srcDefaults"
        Runat="server">
        
                    id="HyperLink1"
            Text='<%# Eval("Title") %>'
            NavigateUrl='<%# Eval("Id", "Details.aspx?id={0}") %>'
            runat="server" />
        
        

    
            id="srcDefaults"
        ConnectionString="Data Source=.\SQLExpress;
            AttachDbFilename=|DataDirectory|MyDatabase.mdf;
            Integrated Security=True;User Instance=True"
        SelectCommand="SELECT Id, Title FROM Defaults"
        Runat="server" />