Data Binding ASP.Net Tutorial

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


    DataPager DataSource Paging


    
    

            ID="lstProducts"
        DataSourceId="srcProducts"
        runat="server">
        
            

                                id="itemPlaceholder"
                    runat="server" />
                

                            id="pg"
                PageSize="2"
                Runat="server">
                
                    
                

            
        

        
            

  •             <%# Eval("Title") %>
                

  •         

        
                id="srcProducts"
            ContextTypeName="MyDatabaseDataContext"
            TableName="Products"
            AutoPage="true"
            Runat="server" />