Auto generate?
I am working on a project that I first must check what provider and auto generate a connection string for that provider and then get the tables in the database, mutch like Server explorer do. I have search internet, bought this book but i haven't found any solution yet.
*By using MSDASC.DataLinks I can get the connection string but can not see Database name or if it's ODBC, Oledb, sql.... I have tried to use the connection string i get this way but it have never worked.
* Most of the time it will use DSN to connect but not always.
* I have to se what type of server it is (ACUODBC,Microcraft Data,MSSql,...)
* I can get the tables in a database if it is oledb by using schema Guide, but this do not work with Odbc(not for me anyway).
I need someone to point me in the right direction, witch book to buy, site to visit or show me some god examples.
If server explorer can do it why can't I
Niklas
|