Howto show a list of all DSN's?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hell

This must be a simple question, I've a application where users is able to access different datasources. As things are at the moment, the users must supply the ini-file with a connectionstring (not very fancy at all

So how do I present the users to a dropdownlist where they can select the appropiate datasource?
I've looked in the class reference of System.Data.Odbc but with no luck :O

Kind regard
Janu
 
Hello

This must be a simple question, I've a application where users is able to access different datasources. As things are at the moment, the users must supply the ini-file with a connectionstring (not very fancy at all)

So how do I present the users to a dropdownlist where they can select the appropiate datasource?
I've looked in the class reference of System.Data.Odbc but with no luck :O(

You'll need to do some PInvoke:

http://tinyurl.com/2kmn2
 

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

Back
Top