You are here : Home » knowledge exchange
Configuration objConfig = WebConfigurationManager.OpenWebConfiguration("~");
AppSettingsSection objAppsettings = (AppSettingsSection)objConfig.GetSection("appSettings");
if (objAppsettings != null)
{
objAppsettings.Settings[strKey].Value = strValue;
objConfig.Save();
}


Copyright © 2005-2011 Narola Infotech, Custom Software & Website Development Company | All Rights Reserved.