I have a DataGridView with four columns: Eng, Swe, update and hide.
End and Swe are normal strings and update and hide are checkboxes.
I want to make two butto
private void UpdateAllButton_Click(object sender, EventArgs e)
{
foreach (DataGridViewRow row in dataGridView1.Rows)
{
row.Cells["update"].Value = true;
}
}
private void HideButton_Click(object sender, EventArgs e)
{
foreach (DataGridViewRow row in dataGridView1.Rows)
{
row.Cells["hide"].Value = true;
}
}