title: Best way to make central SqlConnection
body: <p>I have wondered what is the best way to make one <code>central SqlConnection</code>. So first thing when I started programming in <code>C#</code> was to put <code>SqlConnection</code> like this into each form I made: </p>
  
  <pre><code>public partial class form1 : Form
  {
      SqlConnection conn = new SqlConnection(
  "Data Source=SERVER\\SQL;Initial Catalog=DataBase;User ID=user;Password=pass");
  
      public form1 ()
      {
          InitializeComponent();
          timer1.Start();
      }
     }
  </code></pre>
  
  <p>Now I would like to make one <code>central</code> connection and get rid of all of these codes in beggining of each form. </p>
  
  <p>I thought that class would be best way to do that. So I wanted to ask you if there is another good method how to make that.</p>
  
  <p>As I'm begginer, please excuse my level of description.</p>
  
  <p>Thank you for your answer/comments/opinions.</p>