Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
accessing web.config from another proj in same soln
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mr. Arnold, post: 3840230"] If the DAL resides in the virtual directory where the Web.config resides, then you should be getting the connection string from the Web.config as the Web.config is the root.config for the solution. If the DAL is not in the virtual directory with the Web.config, then you have to use an app.config and place the file where the DAL is located. The other thing you can do as well is get the connection string from the Web.config and pass is through the BLL down to the DAL as a string parm for kicks and giggles, not recommended. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
accessing web.config from another proj in same soln
Top