A
ad
I am using VS2005 to develop my web applicaiton.
I have some value defined in web.config, like:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings>
<add key="CompanyName" value="NorthWind"/>
.....
I can use code to read the value, but how can I write the value back to
web.config after I change it?
I have some value defined in web.config, like:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings>
<add key="CompanyName" value="NorthWind"/>
.....
I can use code to read the value, but how can I write the value back to
web.config after I change it?