Write to Appname.exe.config

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can use System.Configuration classes:
string dns = ConfigurationSettings["name"];
to access the appSettings configuration
<configuration>
<appSettings>
<add key="name" value="val" />
</appSettings>
</configuration>

Isn't there a Class or Method to write values to the appSettings
or for that matter Custom Configuration settings or
Section Groups?

thanks
 
I can use System.Configuration classes:
string dns = ConfigurationSettings["name"];
to access the appSettings configuration
<configuration>
<appSettings>
<add key="name" value="val" />
</appSettings>
</configuration>

Isn't there a Class or Method to write values to the appSettings
or for that matter Custom Configuration settings or
Section Groups?

thanks

If you are using .NET 1.1, no. If you are using .NET 2.0, see the help on
"Settings".

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top