Data Binding ASP.Net Tutorial

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


    Show ItemTemplate


    
    

            id="Repeater1"
        DataSourceId="srcDefaults"
        Runat="server">
        
        <%#Eval("Title")%>
        directed by
        <%#Eval("Director")%>
        
        

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