Connecting to the Products table in the Northwind database using SqlDataSource control

<asp: SqlDataSource ID=”SqlDataSource1” runat=”server”  
    ConnectionString=”<%$ConnectionStrings:NorthwindCnnString %>”  
    SelectCommand=”SELECT * FROM products”> 
</asp:SqlDataSource>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.