ADO Database ASP.Net




    Untitled Page


    
    

                                   Runat="server"
                           SelectCommand="SELECT * FROM [Customers]" 
                           ConnectionString="<%$ ConnectionStrings:AppConnectionString1 %>"
                           DataSourceMode="DataSet"
                           ConflictDetection="CompareAllValues" 
                           EnableCaching="True" 
                           CacheKeyDependency="SomeKey" 
                           CacheDuration="Infinite">
            
                                    QueryStringField="id" Type="String">
            

        
    

    


File: Web.config

  
  
                     connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True"
             providerName="System.Data.SqlClient" />