How To Construct The Database Connection String Dynamically

How To Construct The Database Connection String Dynamically