title: Store connection string in database and retrieve it on application startup
body: <p>I am developing an winforms application in VS 2010 to retrive data from Sql Server or MySql to Sql Server or MySql.</p>
  
  <p>My design is something like this.</p>
  
  <p><img src="https://i.stack.imgur.com/KOsJT.png" alt="Application Screenshot"></p>
  
  <p>So here I am storing all values of connection string in Sql Server database table in separate column.</p>
  
  <p>I am able to get the required fields and validate them, test them and store it in database but I am stuck at how to get the stored connection string at runtime to work and how to use the last selected connection string?</p>
  
  <p>guidance please.</p>