K
Kenneth
Hi,
In web.config I have an appsettings:
<appSettings>
<add key="constring"
value="Server=localhost;UID=sa;PWD=secret;Database=myDB" />
</appSettings>
This is for my developing machine.
Every time I deploy this web.config to the production
server I forget to change the UID and PWD which are
different on this machine.
Is there a way to write some code that detects which
server you're on so the server picks the right UID and PW`?
/Kenneth
In web.config I have an appsettings:
<appSettings>
<add key="constring"
value="Server=localhost;UID=sa;PWD=secret;Database=myDB" />
</appSettings>
This is for my developing machine.
Every time I deploy this web.config to the production
server I forget to change the UID and PWD which are
different on this machine.
Is there a way to write some code that detects which
server you're on so the server picks the right UID and PW`?
/Kenneth