摘要: 1、首先先在工程里添加system.configuration.dll程序集的引用 2、写代码读取配置参数 方法一: string connStr= System.Configuration.ConfigurationManager.ConnectionStrings["strCon"].ToString(); ... 阅读全文
posted @ 2017-07-14 09:53 大漠孤烟-1234 阅读(22859) 评论(0) 推荐(1)