Resolve all the db-drivers.

M

Mr. X.

Hello.
I need some global solution to handle a situation, I need to connect to any
driver.
It seems that mySql has it's own drivers.
Should it be ODBC?
Is there any way to get the list all the installed db-drivers ?
How can I connect any driver after installed it?
Need sample, please.

Thanks :)
 
A

Armin Zingler

Am 06.07.2010 22:31, schrieb Mr. X.:
Hello.
I need some global solution to handle a situation, I need to connect to any
driver.
It seems that mySql has it's own drivers.
Should it be ODBC?
Is there any way to get the list all the installed db-drivers ?
How can I connect any driver after installed it?
Need sample, please.

There are some ".Net data providers":
http://msdn.microsoft.com/en-us/library/a6cd7c08(VS.90).aspx

For each there are different ways to enumerate
available sources. You can search for "enumerate oledb providers"
and alike for example.
 
C

Cor

As long as you haven't installed the provider dll's and set a reference to
it.
You won't see it in your VB program.

Be aware that there are build in providers in the frameworks, where version
1.x had the most (reason licenses).

Those are located in the namespace System.Data

I would avoid ODBC in Net, as those are the weakest.

Success

Cor
 
M

Mr. X.

If not ODBC (a generic engine for all of the databases), so what should I
use (for generic solution) ?

Thanks :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top