【问题标题】:configurationmanger not working in vs2010配置管理器在 vs2010 中不起作用
【发布时间】:2011-08-04 07:10:24
【问题描述】:

我正在尝试使用

读取配置文件

ConfigurationManager.ConnectionStrings

但它在 vs2010 中不可用。

ConfigurationSettings 不读取 connectionstring 部分。

谁能提供一些帮助?

【问题讨论】:

    标签: asp.net vb.net configuration web-config app-config


    【解决方案1】:

    您需要添加对System.Configuration 的引用。

    【讨论】:

      猜你喜欢
      • 2015-04-25
      • 2013-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-13
      • 2021-05-13
      • 2014-07-29
      • 2013-05-05
      相关资源
      最近更新 更多