|
-
Sep 12th, 2008, 12:46 PM
#1
Thread Starter
Member
How to read App.config from windows Application
Hi All,
I have windows application where i need to read specific value from app.config file, when i refer using configurationManager.appSettings("DBVersion") It return nothing , but i have value in app.config file like
<appSettings>
<add key="DBVersion" value="10" />
</appSettings>
Please let me know how to read this value from my Windows Application .
Thanks,
Mohan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|