2010年9月16日

C#读取app.config配置文件中的connectionString节点

摘要: 相关问题在网络上只是通过ConfigurationManager.AppSettings来读取appSettings中add节点属性的。我呢,想读取Visual Studio自动生成的数据库连接字符串。这个字符串是记录在connectionString节点中的。配置文件如下:代码Code highlighting produced by Actipro CodeHighlighter (freew... 阅读全文

posted @ 2010-09-16 20:50 iPeterRex 阅读(6378) 评论(0) 推荐(0) 编辑

导航

转载本博客文章请注明转载地址、作者姓名