Changing App.Config File at runtime.................

Hi Experts,

           I am developing a an application in C#.Net. I hv used App.Config file to store the settings related to application. i want to change the app.config file at runtime but I dont know how to do it. I mean i want to change the values of key in appSettings Section at runtime.

Please help me.

Thanx in advance.

Regards,
Paramhans
ParamhansAsked:
Who is Participating?
 
DhaestConnect With a Mentor Commented:
Other resources:
How to change App.config file run time using C#
http://chiragrdarji.wordpress.com/2008/09/25/how-to-change-appconfig-file-run-time-using-c/

Modifying Configuration Settings at Runtime
http://www.codeproject.com/KB/cs/modconfigruntime.aspx
0
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
0
 
ParamhansAuthor Commented:
Thanx emoreau and Dhaest
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.