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