title: Connect to SQL Database on Server (C# UWP)
body: <p>I'm developing an App for Windows 10.</p>
  
  <p>I have SQL Database on my Server and I need to connect using IP (<a href="https://144.76.133.122:1500/myadmin/" rel="nofollow">https://144.76.133.122:1500/myadmin/</a>)</p>
  
  <p>I try to use this code</p>
  
  <pre><code>private SqlConnection connection;
      private string server;
      private string database;
      private string uid;
      private string password;
  
      // Constructor
      public DbConnect()
      {
          Initialize();
      }
  
      // Initialize values
      private void Initialize()
      {
          server = "";
          database = "rent";
          uid = "root";
          password = "password123";
          string connectionString = "SERVER=" + server + ";" + "DATABASE=" +
                                    database + ";" + "UID=" + uid + ";" + "PASSWORD=" + password + ";";
          connection = new SqlConnection(connectionString);
      }
  </code></pre>
  
  <p>But I don't have a reference for <code>SqlConnection</code></p>
  
  <p>How I can connect to my database?</p>