PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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

One Comment on “Which data source control should you use?


Leave a Reply