M
mocsoft
I have an application that requires the dynamic changing of values in
the web.config file, I have code that seems to change the value:
WebConfigurationManager.AppSettings("database") =
DropDownList1.SelectedValue
However this seems to hold the value in IIS memory rather than actually
changing the stored text in the web.config file.
Does anyone know how I could change the value in the file permenantly
and programmatically?
Any help much appreciated
the web.config file, I have code that seems to change the value:
WebConfigurationManager.AppSettings("database") =
DropDownList1.SelectedValue
However this seems to hold the value in IIS memory rather than actually
changing the stored text in the web.config file.
Does anyone know how I could change the value in the file permenantly
and programmatically?
Any help much appreciated