title: Bind combobox with data from database
body: <p>I had windows form and I added combobox which bin data from database I added my code but this error apeared (invalid column name Category) altought the name was right .</p>
  
  <pre><code>public Category()
  {
      InitializeComponent();
      CategoryParent();
  }
  
  private void CategoryParent()
  {
      using (SqlConnection Con = GetConnection())
      {
          SqlDataAdapter da = new SqlDataAdapter("Select Category.Category,Category.Id from Category", Con);
          DataTable dt = new DataTable();
          da.Fill(dt);
          CBParent.DataSource = dt;
          CBParent.DisplayMember = "Category";
          CBParent.ValueMember = "Id";
      }
  }
  </code></pre>