Wanting to deploy my project on different servers I would prefer to be able to specify a connect string using a relative path. I can\'t seem to get that to work and want to
Like this:
String currentPath = System.IO.Path.GetDirectoryName( Application.ExecutablePath );