User383962173 posted
Hi,
We have 2 databases. Depends on the group after login, user need to be automatically switch to his (or her) connection string. I am not sure how to implement this, but am imaging that if I can have a parameter (like below example), then we will be
able to point user to the right DB. Any thought or suggestion?
connectionStrings>
<add name="strConnect1" connectionString="Data Source=SQLSERVER\Instance;Initial Catalog=<GroupDB>;Persist Security Info=True;User ID=xxx;Password=xxx" providerName="System.Data.SqlClient" />
</connectionStrings>
Thanks