I’m working on my first Windows .Net application (as opposed to a .net web app, which I’ve done a lot of), and I have a question about database connection strings – is there an equivalent to the section in web.config?
I want to be able to have the program run against our test database (which will required a different connection string. What is the “canonical” way to define connection string objects in a Windows .Net application?
Thanks
Rather than write this all down again, here’s a good article on this subject:
Storing and Retrieving Connection Strings