摘要:
C#读写app.config中的数据【转】:http://gb2013.blog.163.com/blog/static/21735301201021253713453/读语句: String str = ConfigurationManager.AppSettings["DemoKey"];写语句: Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); cfa.AppSettings.Settings["DemoKey"].
阅读全文