I am wondering if there is an elegant way to check for the existence of a DB? In brief, how do test the connection of a db connection string?
Thanks
Just try a DBConnection.Open() wrapped in a try block catching DBException.
About as elegant a solution as you are going to find.