I'm looking to have my application accept a command line argument to specify if the user wants to use the training system or the live system. What is best practive for the db connection string?
Should I store 2 in the config and set the connection string globally based off the command line?
Or can I have 2 config files and switch which I read from?
Help is appreciated!
Loading
Dipal ChoksiPosted May 15, 2008, 12:09 AM
I would store the 2 connection strings in the config file and switch based on the user selection..