Generate connection string Follow SO question: http://stackoverflow.com/questions/10479763/how-to-get-the-connection-string-from-a-database