Configuration File

I

Irfan

hi,

I have few projects in my solution and they all access a single Acces
Database. I want to create a coonectionString that is unique
to the whole solution, however when I set the ConnectionString in the
configuration file it is specific to a PROJECT in the solution,
not the whole soultion.
How can i made ConnectionString that can be accessed by all the projects in
the solution, so that when i need to change the location
of the database, i have to change it only once.


Regards,

irfan
 
A

AMDRIT

You will want to specify the connection information in a file that is common
to all the projects.

Examples:
Create a plain text file
Create an INI file
Create an XML file
 
I

Irfan

thanks for the reply, I will consider XML.
However, does that mean that Config files cannot be used in this scenario
and are applicable to store values within
a PROJECT only.

regards
irfan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top