Adding appSettings items programmatically
This shows how to add appSettings items from your codebehind.
Configuration config = ConfigurationSettings.OpenWebConfiguration("~");
AppSettingsSection appSettingsSection = config.AppSettings;
appSettingsSection.Settings["MyKey"] = "The value to save!";
config.Save();
Comments
bob sacomano Wrote:
29:e Mars 2010
WTF WMD?