Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / November 2006

Tip: Looking for answers? Try searching our database.

Settings for Solution

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Irfan - 22 Nov 2006 16:37 GMT
hi,

Is there a way to set the settings for a solution so that all the projects
can access those settings? I have a DB Connection
which is accessed by more than one project in the solution?

Regards,
Irfan
Michael Nemtsev - 22 Nov 2006 22:03 GMT
Hello Irfan,

Create separate project with the class that will return your common data
or read data manually from the external global config that u need to create

I> hi,
I>
I> Is there a way to set the settings for a solution so that all the
I> projects
I> can access those settings? I have a DB Connection
I> which is accessed by more than one project in the solution?
I> Regards,
I> Irfan
---
WBR,
Michael  Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
PS - 24 Nov 2006 22:55 GMT
> hi,
>
> Is there a way to set the settings for a solution so that all the projects
> can access those settings? I have a DB Connection
> which is accessed by more than one project in the solution?

Assuming you have an app.config file in one project that you want to use in
the other projects then you can add an existing item and link to that file
from each project.

SP

> Regards,
> Irfan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.