Solved

Should I use ADODB, OLEDB or ADOX?

Posted on 2011-09-22
6
578 Views
Last Modified: 2012-05-12
Dear experts,

I am writing a C# Windows form program to integrate some data from Access databases. A lot of INSERT and UPDATE will be made. What is the best way to establish the database connection, ADODB, OLEDB, ADOX? Thanks in advance.
0
Comment
Question by:quziguang
6 Comments
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 250 total points
ID: 36584689
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 36584856
Define "Integrate" in terms of exactly what you will be doing.

I think I see more ADO than anything else..
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 36584865
I reckon either ado.net or oledb would be good enough. I am not sure but I did read somewhere ado.net slightly slower but don't quote me on that.

some alternatives to throw at you. Have a look at linq (though I don't think there is much out there for msaccess) and if u want to hide more of the coding, nhibernate though it probably not worth it if you are just doing some updates
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 65

Assisted Solution

by:rockiroads
rockiroads earned 250 total points
ID: 36584873
0
 

Author Closing Comment

by:quziguang
ID: 36586000
Thanks to all for answering.
I'd like to accept both minhvc and rockiroads' answers. It looks like OLE DB is the one to use.
0
 
LVL 57
ID: 36586372

 All are the same thing.   OLEDB is a data provider, ADO a consumer.  ADOX is ADO extentions for security, etc., which you may not need.

 In short, you'll be using ADO, which will talk to the JET OLDEDB provider.

Jim.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now