Hi
In asp.net you can easily put the connectionstring to your database in webconfig file and use configurationmanager to reach it from different pages.
Is there a similair way in win form applications? Let say I create a class and call it Connections and from every form I create I can reach the connectionstring?
In that case if I change database I do not need to change the connectionstring on every form, only in the class.
Thank you.

1 answers
Yes, you could do it like that by creating a static class which is visible to all other classes in the application:
answered one year ago by:
17279
60
Thank you Vulpes, sorry forgot to say VS2008, exactly what I was looking for.