advanced web statistics

Usefulness of SqlDataSource

12/12/2006 3:53:16 PM

using Microsoft.Corporate.Advertising.CoolDemos.Controls;

For your reading pleasure, see what Microsoft has to say about the SqlDataSource. The following excerpt has been taken from the "Working with the ASP.NET 2.0 ObjectDataSource Control" article on MSDN:

However, there is one problem with the SqlDataSource control. If you use the SqlDataSource control, then you are doing something bad. The SqlDataSource control is bad since the control forces you to jumble together your user interface layer with your business logic layer. Mixing layers, as any application architect will tell you, is just shameful.

What are your thoughts on the usefulness (or lack thereof) of the SqlDataSource control? What if your data is derived from stored procedures?

Side Note:
This entry inspired by the ReorderList control in the AJAX toolkit being populated by the SqlDataSource.

.NET, Programming

kick it on DotNetKicks.com

Leave a Comment

   

  Enter the text to proceed!