.config for Class Library

Nischal Muthana <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.general
Message-ID <[email protected]>
Hi All

I created a C# class library with couple of .cs files
in it. One of the class connects to the database and
does some inserting. My question here is, Can I have a
config file in which I can specify the connection
string of the database instead of specfying in the
class.

I know there is something called Appname.exe.config
for the exe based applications. And also I looked at
the machine.config option. But nobody wants me touch
the production box and play with machine.config.

So is there a way I can I have a config file for the
class libraries(dll)

Thanks
Nischal

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.