Which data source control should you use?

You are creating ASP.NET applications by using the .NET Framework 3.5.

You plan to evaluate an application design that has the following specifications:

– Data is stored in a Microsoft SQL Server 2008 database.
– Data is retrieved by using a DataContext object.
– Data is displayed by using GridView controls.

You need to choose an appropriate data source control that can be used in the design of the application.

Which data source control should you use?

You are creating ASP.NET applications by using the .NET Framework 3.5.

You plan to evaluate an application design that has the following specifications:

– Data is stored in a Microsoft SQL Server 2008 database.
– Data is retrieved by using a DataContext object.
– Data is displayed by using GridView controls.

You need to choose an appropriate data source control that can be used in the design of the application.

Which data source control should you use?

A.
LinqDataSource

B.
XmlDataSource

C.
SqlDataSource

D.
EntityDataSource

Explanation:
Linq is using DataContext
See also: http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.aspx



Leave a Reply 1

Your email address will not be published. Required fields are marked *