Hello people, Can somebody tell me how can I use ConfigurationManager? What using assembly should I declare?

There is very useful article which features I want to use in my code but my express edition is unable to recognize ConfigurationManager, ConnectionStringSettings,...

How to solve this?

Recommended Answers

All 5 Replies

What version of express are you using?
ConfigurationManager should be in the System.Configuration.dll.

I use 2008 version

Bug in VS 2008?
Use using System.Configuration; And try ConfigurationSettings instead.

ok, I've got answer, I was missing project/add reference/system.configuration...

Happy programming.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.