.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

DataSource Controls

Posted By: pratap     Posted Date: August 15, 2010    Points:2   Category :ASP.Net
Hi all....

What is the advantage of DataSource Controls one over the other,
i mean i want to know the specific cases for using sqldatasource and object datasource coontrols....

Author: Syed Shakeer Hussain             
Posted Date: August 15, 2010     Points: 5   

The Following are the DataSoucre Controls
1)SqlDataSource:- Enables binding to a SQL database represented by an ADO.NET provider, such as MicrosoftT SQL Server, OLEDB, ODBC, or Oracle.

2)ObjectDataSource:- Enables binding to a middle-tier object such as a data access layer or business component.

3)AccessDataSource:- Enables binding to a MicrosoftT Access (Jet) database.

4)SiteMapDataSource:- Enables binding to the hierarchy exposed by an ASP.NET 2.0 site navigation provider.

5)XmlDataSource Enables binding to an XML file or document

For more Deatils Read the below Links


Author: TotalDotNet             
Posted Date: August 16, 2010     Points: 5   

The basic difference is , when the you map them with gridview or other data controls,
the way the data is displayed.

For more Details Read the below Links


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend