Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am making a program in which I established connection with sql server using DSN. I am using ODBCConnection class. I want to check that, DSN which is created is for access or sql server. I did google but not getting helpful information. I am using c# and visual studio 2008.

Thanks.
Posted
Comments
The Doer 23-Feb-12 0:46am    
whsich DSN have u created?? User or System or File??

1 solution

Go to control pannel-->Administrative tools-->Data Source(ODBC)-->select any 1( user/System/file) -->here u can see the number of DSN that already exists-->click on configure button--> here u can see either ur DSN is created for access or SQL or Excel or any other..


u can also change the configuration considered u have enough authentications.
Good Luck:-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900