Configuration File

  • Thread starter Thread starter Irfan
  • Start date Start date
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
 
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
 
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
 
Back
Top