日期:2014-05-20 浏览次数:20875 次
var config = System.Configuration.ConfigurationManager.OpenExeConfiguration(System.Configuration.ConfigurationUserLevel.None); var sect = config.GetSection("XX"); //其他操作... config.Save(System.Configuration.ConfigurationSaveMode.Modified);