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
Re: How to read App.config from windows Application
try this
Code:
ConfigurationSettings.AppSettings("DBVersion")