 |
VB.NET Datagridview - capture DataGridViewCheckBoxColumn click event
private void dg_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 0) { dg[0, e.RowIndex].Value = ! Convert.ToBoolean(dg[0, e.RowIndex].Value); // now you can check what is its current value and what do you want ...
www.experts-exchange.com |
 |