Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
35573 Points
5700 Posts
Mar 27, 2012 06:58 PM|LINK
Coqmos Yes but the web.config file is not in the same solution and not in the same directory also so I need to add some kind of reference I think to iy
Yes but the web.config file is not in the same solution and not in the same directory also so I need to add some kind of reference I think to iy
suppose u r simple creating a class library (dll) then u can use this code to read web.config connectionstring...
when u add this dll in web application project, this code would read web.config where this dll is referenced
hope this helps...
kedarrkulkar...
All-Star
35573 Points
5700 Posts
Re: Accessing Web.Config from a separate solution
Mar 27, 2012 06:58 PM|LINK
suppose u r simple creating a class library (dll) then u can use this code to read web.config connectionstring...
when u add this dll in web application project, this code would read web.config where this dll is referenced
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site