AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

Building a multi-tier data-driven web application using the SqlDataSource control : Luis Ramirez

Wednesday, June 25 2008

This article explains how to use the SqlDataSource control to create a web application separating the presentation layer from the data access layer. No more SQL code in your presentation layer. The ASP.NET 2.0 framework has a very good control, the SqlDataSource control. Without write a single line of code you can insert, update, delete and select data. The bad point is that it mixes the presentation layer and the data access layer. It means, the SqlDataSource control embeds the SQL code into your presentation layer. That is the reason that makes many people to choose another options such as: ObjectDataSource control or create their own classes for the data access layer. Here there is a discussion about the advantage and disadvantage of using the SqlDataSource control...

Read More:
Building a multi-tier data-driven web application using the SqlDataSource control : Luis Ramirez
Also See:
Performing Batch Deletes from the Database : Scott Mitchell
Using TemplateFields in the DetailsView Control : Scott Mitchell
Master/Detail Filtering With a DropDownList : Scott Mitchell
Changing GridView Column Color : AzamSharp
Integrate Windows Live ID Authentication with ASP.NET Membership, Profiles and Roles : Peter A Bromberg

Post your comment

Comment