Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set connection string using config file
Message
From
20/03/2008 16:07:00
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
20/03/2008 05:21:41
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
01303511
Message ID:
01304086
Views:
18
Yes, the property sheet does provide a list of connection strings from my app.config, and when creating a new tableadapter, I can choose a connection string.

My question is how can I globally change each tableadapter to point to a specific connection string?

For example, I might want to switch from PROD to the DEV database connection string. I might have 20 tableadapters, changing each one using the property sheet is not desirable.

Isn't there a global way to do this?

Thanks,

Jerry



>the property sheet should provide a list (dropdown) of all connectionstrings, defined in your app.config file.
>You just have to choose the righ one.
>
>Normally, when you create a new tableadapter in the dataset, you have to choose a connectionstring, and the same list is provided there.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform