Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically select database
Message
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Programatically select database
Environment versions
Environment:
C# 5.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01587897
Message ID:
01587897
Views:
58
Hello all,

Can anybody give me some guidance on programatically selecting a different connection string for my web application. I want to be able to give the users a choice of picking a test/demo database vs. a production database. I want the code base to obviously be the same, but the database selected to be different.

How this gets accomplished is not as important, i.e. does the user just use a different URL to get to the app. Or do they use the same URL, but first get a choice as to what database they want to access, etc.

This is probably not a MM.NET related issue but I put it in this category as the application is built using MM.NET.

TIA

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform