G
Guest
I have noticed a number of entries regarding the use of the
ConfigurationManager class to read connection strings. I writing a class
library that requires a DB connection. I have an app.config file in the
application that contains the connection string. I have set a project
reference to the System.Configuration.dll and I have the "using
System.Configuration" statement in the C# code. I can see the class as
public in the Object Browser with a ConnectionStrings property. Yet I still
cannot use the class in my code; it fails to compile with an error,
"ConfigurationManager does not exist...".
How can I get this to work? Other entries say that it should be working now.
Thanks,
Eagle
ConfigurationManager class to read connection strings. I writing a class
library that requires a DB connection. I have an app.config file in the
application that contains the connection string. I have set a project
reference to the System.Configuration.dll and I have the "using
System.Configuration" statement in the C# code. I can see the class as
public in the Object Browser with a ConnectionStrings property. Yet I still
cannot use the class in my code; it fails to compile with an error,
"ConfigurationManager does not exist...".
How can I get this to work? Other entries say that it should be working now.
Thanks,
Eagle