+3  A: 

Add a reference to System.Configuration, then have a using class for System.Configuration, then you will have access to:

ConfigurationManager.ConnectionStrings

And yours can be accessed via

string s = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
Noon Silk