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
 
Back
Top