Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
VB.NET
Windows Forms
Allow users to select between a Prod and Test database
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Seeker#1, post: 186397, member: 76121"] That would be great. The deployed application is a exe. I don't currently deploy the config file with the application. Doesn't meant I can't if I need too. I thought about having two connection strings but wasn't sure how to implement the switch. I created two connection strings called LaserMaintLogConnectionString and LaserMaintLogConnectionStringDev. They point to two different servers. Data Source=WJBProduction;Initial Catalog=GMS_LML_Online_Data;Integrated Security=True Data Source=WJBDevelopment;Initial Catalog=GMS_LML_Online_Data;Integrated Security=True I have a Log In form, I am thinking at that point having the user select which connection they want to use. How would I code that. Thanks again. [/QUOTE]
Insert quotes…
Verification
Post reply
VB.NET
Windows Forms
Allow users to select between a Prod and Test database
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom