Solved

EntityDataSource, ObjectDataSource, and LinqDataSource - For what and how to use them

Posted on 2012-03-20
2
1,505 Views
Last Modified: 2012-03-20
Hi:

We're creating web applications using Visual Studio 2010 and Visual Basic.

We saw in the list of data sources offered by VS 2010: EntityDataSource, ObjectDataSource, and LinqDataSource beside AccessDataSource (used with Access db) and SqlDataSource (used with SQL server db)

Would you help to explain for what applications these datasources are used and examples of how to use them?

Thanks a lot,

Somits
0
Comment
Question by:somits
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 250 total points
ID: 37743900
ObjectDataSource, as the name suggests is used with collections/lists of objects. For example, a list of customers. LINQDataSource is similar but it works with LINQed collections of objects such as iqueryable and ienumerable etc. EntityDatasource is used with EntityFramework which is a different data access technology.
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 250 total points
ID: 37744000
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question