How to change connectionstring for Home and Office ?
preno
60
Reputation points
I need to use a different connecton strings to my developmente DB when I work at home than the one used at Office. I also need different connection string for deployment. For now I simply comment the rows in the web.config each time.
Is there an easy way to do this?
I thought at conditional compilation symbols, but i don't know if is a good way.
Thanks.
Sign in to answer