Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

DataSources. Should I use them? Need advice ...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shapper - 21 Feb 2008 02:54 GMT
Hello,

I have been trying the ObjectDataSource and LinqDataSource with Linq,
a DataPager and a ListView.

LinqDataSource has some restrictions but it is easier to use than
ObjectDataSource which on the other hand is less restrictive.

Should I even use a DataSource?

Is there any problem of defining all data connections in ListView
events?

I am almost taking the decision of using ObjectDataSource but
sometimes I wonder if I should not use these objects in my project.

Thanks,

Miguel
Michael Nemtsev [MVP] - 21 Feb 2008 04:00 GMT
Hello shapper,

LinqDataSource is good, only if you are playing with your project and try
to save some times, but LDS approach is not very good for the serious application
where you are usually using n-tiers systems.

I usually use LDS for the small project where Im not really concern about
design and the result is priority. For other cases ODS is preferable

Btw, there is an overview of LinqDataSource vs ObjectDataSource http://weblogs.asp.net/despos/archive/2007/09/24/linqdatasource-vs-objectdatasou
rce-vs-sqldatasource.aspx


---
WBR,
Michael  Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour 

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

s> Hello,
s>
s> I have been trying the ObjectDataSource and LinqDataSource with Linq,
s> a DataPager and a ListView.
s>
s> LinqDataSource has some restrictions but it is easier to use than
s> ObjectDataSource which on the other hand is less restrictive.
s>
s> Should I even use a DataSource?
s>
s> Is there any problem of defining all data connections in ListView
s> events?
s>
s> I am almost taking the decision of using ObjectDataSource but
s> sometimes I wonder if I should not use these objects in my project.
s>
s> Thanks,
s>
s> Miguel
s>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.