摘要: 读语句: String str = ConfigurationManager.AppSettings["DemoKey"];写语句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); cfa.AppSettings.Settings["DemoKey"].Value = "DemoValue"; cfa.Save();配置文件内容格式:(app.config) System.Configuration. 阅读全文
posted @ 2013-06-03 14:43 Skysper 阅读(1209) 评论(0) 推荐(0) 编辑