摘要: 读语句: String str = ConfigurationManager.AppSettings["DemoKey"];写语句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); cfa.AppSettings.Settings["DemoKey"].Value = "DemoValue"; cfa.Save();配置文件内容格式:(app.config)<?xml version... 阅读全文
posted @ 2013-04-25 11:56 贫僧小衲 阅读(236) 评论(0) 推荐(0)