开发者

configurationmanger not working in vs2010

开发者 https://www.devze.com 2023-03-25 23:00 出处:网络
I am trying to read configuration file using ConfigurationManager.ConnectionStrings but it is not available in vs2010.

I am trying to read configuration file using

ConfigurationManager.ConnectionStrings

but it is not available in vs2010.

ConfigurationSettings doesn't read connectionstring section.

Can anyone provide some help开发者_运维技巧 on it?


You need to add a reference to System.Configuration.

0

精彩评论

暂无评论...
验证码 换一张
取 消