摘要: 读语句: String str = ConfigurationManager.AppSettings["DemoKey"];写语句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); cfa.AppSettings.Settings["DemoKey"].Value = "DemoValue"; cfa.Save();配置文件内容格式:(app.config)<?xml version=" 阅读全文
posted @ 2011-11-11 15:45 Cad人生 阅读(42873) 评论(0) 推荐(1) 编辑