Link to home
Start Free TrialLog in
Avatar of sunbio

asked on

Connection String / Application Config

I'm using 2008
My progam has a config that contains
connectionString="Data Source=MAIN;Initial Catalog=App1;User ID=sa"

All the refrences to the Connection string gets it from here, such as the Dataset created by the Wizart or when I call it with App1.My.MySettings.App1ConnectionString.

All this worked for me. But now I need to change the User ID based on what user is running this app.

Is there a way to change the User ID setting during runtime?

Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial