AndrewdAzotus
Member
- Joined
- Aug 8, 2012
- Messages
- 22
- Programming Experience
- 10+
So, I can store my connection string in Settings and have something like this:
Data Source=.\SQLEXPRESS; <other stuff...>
it's set up as an application setting which seems to be the right place.
but when it moves to production, I would like an administrator whilst running my application to be able to alter the Data Source to point at their SQL Server where ever that might be, I imagine on their server.
Data Source=<my SQL Server>; <otherstuff...>
but, of course, Application settings cannot be updated by the program...
Or have I missed something fundamental...
Data Source=.\SQLEXPRESS; <other stuff...>
it's set up as an application setting which seems to be the right place.
but when it moves to production, I would like an administrator whilst running my application to be able to alter the Data Source to point at their SQL Server where ever that might be, I imagine on their server.
Data Source=<my SQL Server>; <otherstuff...>
but, of course, Application settings cannot be updated by the program...
Or have I missed something fundamental...