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 / Languages / Managed C++ / April 2006

Tip: Looking for answers? Try searching our database.

Which one is best?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ram_palavalasa - 21 Apr 2006 04:19 GMT
Hi all,

Whichone is the best among the following while proessing the data?
ODBC,DAO,ADO,OLEDB...please justify urself why ?
also let me know how to loas dll component to the workspace i
VC++.Net?

Thanks,
Ram..:

--
ram_palavalas
Carl Daniel [VC++ MVP] - 21 Apr 2006 05:48 GMT
> Hi all,
>
> Whichone is the best among the following while proessing the data?
> ODBC,DAO,ADO,OLEDB...please justify urself why ?
> also let me know how to loas dll component to the workspace in
> VC++.Net?

Best for whom?  In what context?  Used for what kind of access?  Over which
database(s)?  How big is the data?  How expert are the developers?

Generally -

ODBC is the most portable
DAO is dead
ADO is the easiest (ADO.NET even easier)
OLE-DB is the most performant (ADO.NET a near tie - maybe better in some
cases)

-cd
ram_palavalasa - 21 Apr 2006 06:57 GMT
I have a assignment of vc++.net and sybase to populate data and generat
reports which is the best one?
is OLEDB more efficient than ODBC?i think OLEDB itself  is a layer o
the ODBC..then how it can be?

'Carl Daniel [VC++ MVP Wrote:

> Best for whom?  In what context?  Used for what kind of access?  Ove
> which
[quoted text clipped - 10 lines]
>
> -c

--
ram_palavalas
Carl Daniel [VC++ MVP] - 21 Apr 2006 15:21 GMT
> I have a assignment of vc++.net and sybase to populate data and
> generate reports which is the best one?

Best in what way?  Each has it's strengths and weaknesses.

ODBC - portable but tedious
OLE-DB - performant but complex
ADO - easy but less efficient

If what you need is reports, your best bet would be to forget about trying
to implement them in C++ and use a reporting tool such as SQL Server
reporting services (which can report on data in non-SQL server stores) or
Crystal Reports, or many others.

> is OLEDB more efficient than ODBC?i think OLEDB itself  is a layer on
> the ODBC..then how it can be?

OLE DB is not a layer on ODBC, although it can be. There's an OLE-DB
provider that adapts any ODBC data source, but generally OLE-DB providers
directly access the underlying data (e.g. for SQL Server, Sybase, Oracle at
least).

-cd

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.