Click here to Skip to main content
15,915,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir


Can anyone tell me how to create dsn through coding in c# .net
Posted

Making a quick search in google or here in CP you could have found exactly the same question ansked and answered here:

creating DSN in c#.net[^]

Take a look to the answers there. In addition you can check too:

http://social.msdn.microsoft.com/Forums/en-US/441811b9-c4e9-4d15-97a3-7b92d2c9f318/creating-system-dsn-using-c[^]
 
Share this answer
 
v2
WHY? A DSN is nothing but a Connection String in a file. Why even use a DSN?? You can put your connection string in your applications app.config file.
 
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