'First row (with checkbox) in datagridview not getting checked
Here's the code. Thanks.
private void checkAllToolStripMenuItemOff_Click(object sender, EventArgs e)
{
foreach (DataGridViewRow row in dgv_Off.Rows)
{
row.Cells[0].Value = true;
row.Selected = false;
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|