title: How to get Value of specific cell of datagridview in Winform application
body: <p>I have a dataGridView which contains the check-boxes in its first column. Now as per my requirement i have to get the value of <code>Employee No</code> column for the row whose checkbox has been clicked on another button click event.Also how to get the value for multiple checkbox selected .</p>
  
  <p>Here is my code..</p>
  
  <pre><code>    private void btn_load_Click(object sender, EventArgs e)
      { 
          DataTable dt = new DataTable();
          dt.Columns.Add("Select", System.Type.GetType("System.Boolean"));
          dt.Columns.Add("Employee No");
          dt.Columns.Add("Employee Name");
          dt.Columns.Add("Join Date");
  
          DataRow dr;
  
          for (int i = 0; i &lt;= 10; i++)
          {
              dr = dt.NewRow();
              dr["Select"] = false;
              dr["Employee No"] = 1000 + i;
              dr["Employee Name"] = "Employee " + i;
              dr["Join Date"] = DateTime.Now.ToString("dd/MM/yyyy");
  
              dt.Rows.Add(dr);
          }
  
          dataGridView1.AllowUserToAddRows = true;
          dataGridView1.AllowUserToDeleteRows = true;
          dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
  
          dataGridView1.DataSource = dt; 
      } 
  
      private void btn_Click(object sender, EventArgs e)
      {
          //I need the Employee Id values here
      } 
  </code></pre>
  
  <p>Please help me .Thanks in advance..</p>