c# - Change TableAdapter XSD to use Web.config Connection String Instead of App.config -


i given asp.net/c# web form application support. has website project, business layer, , data layer. data layer has many xsd files tableadapters. these table adapters point data layer's app.config/settings file database connection string. i'd have xsd files use connection string in website project's web.config file instead can have database connection in 1 single configuration file instead of 2 different ones. how can go doing this?

when go connection properties of tableadapter see app.config connection strings.

i believe figured out. problem while connections in web.config , app.config had same name, xsd files using full name, added connections web.config file along lines of "datalayer.properties.settings.connectionname" , removed app config , cleared connections settings.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -