Home Page
About Us


ObjectDataSource control acts as a data interface for databound controls such as: GridView, Repeater, FormView and DetailsView.


The SqlDataSource control enables you to use a Web control to access data located in a relational database, including Microsoft SQL Server and Oracle databases



I d say sqldatasource is not very appropiated for n-layered applications except n 1 since it talks directly to sql server;on the other hand objectdatasource is a perfectly acceptable option since allows you to call methods from classes on any of the layers the web layer has access to

from question  

Is the ObjectDataSource a good choice for professional (n-layer) applications?

Objectdatasource also allows for more efficient paging than a simple sqldatasource i m assuming that s what you re using

from question  

ASP/VB .NET Formatting every row of a gridview?

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0