I\'ve added a checkbox column to a DataGridView in my C# form. The function needs to be dynamic - you select a customer and that brings up all of their items that could be s
If you try it on CellContentClick Event
CellContentClick
Use:
dataGridView1.EndEdit(); //Stop editing of cell. MessageBox.Show("0 = " + dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());