Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
C# obtain connection string data from app.config file
dc
Jun 25 2013 12:20 AM
711
Reply
I have a C# 2010 desktop application that has its own app.config file. This application calls a dll that has its own app.config file. I want to be able to access the database connection string information that is in the app.config file located in the dll file.
Thus can you tell me how to access the database connection string located in the app.config file of the dll?
Can I access this database connection information from the app.config file of the C# 2010 desktop application?
Can you show me code on how to accomplish my goal?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Static
C# "contains no aruguments'