access web.config from another dll

T

Tem

my DAL is in a separate dll/project than the website project.

how would I go about accessing/referencing a connectstring in the web.config
file in the website project ?

so I don't have to hard code the connect string in the code file of the DAL
dll.

Tem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,585
Members
45,082
Latest member
KetonaraKetoACV

Latest Threads

Top