title: Hide id column from datagridview but need to use it
body: <p>I want to hide id column from datagridview. I tried by changing stored procedure / SQL query, it works but I was unable to get id of that entry for some reason I also need id of each entry but don't want to show on front end. </p>
  
  <p>Any suggestions, please?</p>
  
  <pre><code>private void category_Load(object sender, EventArgs e)
  {
      // TODO: This line of code loads data into the 'shopBillingDataSet.category' table. You can move, or remove it, as needed.
      this.categoryTableAdapter.Fill(this.shopBillingDataSet.category);
      button3.Enabled = false;
      button1.Enabled = true;
  }
  
  private void button1_Click(object sender, EventArgs e)
  {
      BSL.category obj = new BSL.category();
      obj.catName = textBox1.Text;
      obj.catDesc = textBox2.Text;
  
      DAL.categoryDAL obj1 = new categoryDAL();
      obj1.addCategory(obj);
      this.categoryTableAdapter.Fill(this.shopBillingDataSet.category);
      textBox1.Text = "";
      textBox2.Text = "";
      MessageBox.Show("New Category entered");
      category_Load(sender,e);
  }
  </code></pre>