Reputation: 6707
This is not working.. any ideas?
ConfigurationManager.ConnectionStrings("YourConnectionString").ConnectionString
Error
"ConfigurationManager not declared"
Upvotes: 1
Views: 182
Reputation: 6265
And...
Have you added a reference to the System.Configuration assembly?
Upvotes: 2
Reputation: 1500525
Do you have
Imports System.Configuration
in your code? And a reference to the System.Configuration
assembly in your project?
Upvotes: 2