>>
>>So, I'll post another thread in SQL Server forum in a sec., but just in case, how can I use two connection strings to switch between development/local?
>>
>>The connection string is in web.config
>>
>
>
>I just have them all in config.web and comment out the ones I'm not using like this...
>
>
> <!-- TEST - SQL2005
<add key="SqlConnectionString" value="MyConnectionStringTEST"/>
-->
>
> <!-- DEBUG - SQL2005
<add key="SqlConnectionString" value="MyConnectionStringDEBUG"/>
-->
>
> <!-- DEV - SQL2005
<add key="SqlConnectionString" value="MyConnectionStringDEV"/>
-->
>
> <!-- Local DB SQL 2K
<add key="SqlConnectionString" value="MyConnectionStringLOCAL2K"/>
-->
>
> <!-- Local DB SQL 2005 -->
> <add key="SqlConnectionString" value="MyConnectionStringTESTLOCAL2005"/>
>
>
>
>Bruce
Bruce,
Thanks a lot. I'll do something similar too.
BTW, did you or anyone else see my question regarding Cancel button and Client side code?
I don't know why it should be so hard for me to get it working :( Could the problem be what I'm using AJAX and Update Panel and my table is inside it? The Cancel button should simply hide the table with information...
If it's not broken, fix it until it is.
My Blog