ADO Net Database ASP.Net Tutorial

<%@ Page Language="VB" AutoEventWireup="false" %>


    Untitled Page


    
    

        "
            SelectCommand="SELECT * FROM [Books]">
        "
            SelectCommand="SELECT * FROM [Books] WHERE (([BookID] <= @BookID) AND ([YearPublished] = @YearPublished)) ORDER BY [Price] DESC, [Title]">
            
                
                
            

        
        
                    DataSourceID="SqlDataSource1">
            
                                    SortExpression="BookID" />
                
                
                
                
                
                
            

        
        
    

    


File: Web.Config


    
                    providerName="System.Data.SqlClient" />