K
kb
ASP.NET C#
how can i set this up:
i have a login page
if i login as clientA then i want to use clientA database
if i login as clientB then i want to use clientB database
both databases are on the same sql server, iam thinking could i have a dynamic connection sting in the web.config or somewhere else? so i would have something like this:
Persist Security Info=False;Data Source=local;Initial Catalog= + databaseNameGoesHere +;User ID=user;Password=pwd
any suggestions would be much appriciated
thanks
kb
how can i set this up:
i have a login page
if i login as clientA then i want to use clientA database
if i login as clientB then i want to use clientB database
both databases are on the same sql server, iam thinking could i have a dynamic connection sting in the web.config or somewhere else? so i would have something like this:
Persist Security Info=False;Data Source=local;Initial Catalog= + databaseNameGoesHere +;User ID=user;Password=pwd
any suggestions would be much appriciated
thanks
kb