title: DataBindings on a checkbox
body: <p>I am currently pulling data from one of my SQL Databases into my application. I can get it working for my text boxes and other items, however, I can not seem to get it to work for a checkbox. Here is the code I am using:</p>
  
  <pre><code>DataTable dt = new DataTable("dt");
  using (SqlConnection sqlConn = new SqlConnection(@"Connection Stuff;"))
  {
      using (SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM Box WHERE id = " + txtID.Text, sqlConn))
      {
          da.Fill(dt);
      }
  }
  Title.DataBindings.Add("text", dt, "title");
  Picture.DataBindings.Add("text", dt, "image");
  Side.DataBindings.Add("text", dt, "side");
  Content.DataBindings.Add("text", dt, "content");
  Check.DataBindings.Add(I dont know what to do here);
  </code></pre>
  
  <p>The data that is stored in the database when the checkbox is checked vs. unchecked is <code>0</code> and <code>1</code> respectivly. How would I set it to checked when the application loads if the value in the database is <code>1</code> and unchecked when it is <code>0</code>?</p>
  
  <p>I have tried the following:</p>
  
  <p>Store the <code>0</code> or <code>1</code> in a textbox and use the following if statement:</p>
  
  <pre><code>Check.DataBindings.Add("text", dt, "check");
  if (txtCheckValue.Text == 1)
  {
      Check.Checked = true;
  }
  </code></pre>
  
  <p>This way works but I was wondering if there is a more efficient way to do this. Hopefuly following the same <code>Thing.DataBindings.Add()</code> format, reason being that I do not want my application to have lots of hidden text boxes.</p>