title: How to access SQL Server database in WPF via passing database name
body: <p>I am using Ado.Net Connectivity Framework in my WPF application.</p>
  
  <p>There is kind of a form in my <code>MainWindow.xaml</code> file. This form has two fields one is asking for database name and second is for PC Name.</p>
  
  <p><strong>Questions:</strong></p>
  
  <ol>
  <li><p>I want to pass these values to App.config File in my WPF application. How to pass these values?</p></li>
  <li><p>Secondly <em>I have to make</em> my database centralized and my application launched from different computers have to access this centralized database?</p></li>
  <li><p>The way I am making this to access centralized database via these above defined fields is right way or is this is not a way to achieve required goal? </p></li>
  </ol>
  
  <p><img src="https://i.stack.imgur.com/PFsu8.png" alt="enter image description here"></p>