O
osmarjunior
When I try to make the current row invisible, I got an error.
I put a checbox that turns some rows visible/invisible.
Then if the selected row is turning to invisible, it raises an
exception.
My code:
foreach (DataGridViewRow row in myGrid.Rows)
if ((bool)row.Cells[0].Value.Equals(false))
row.Visible = checkbox.Checked;
What's wrong in that???
Thanx....
Junior.
I put a checbox that turns some rows visible/invisible.
Then if the selected row is turning to invisible, it raises an
exception.
My code:
foreach (DataGridViewRow row in myGrid.Rows)
if ((bool)row.Cells[0].Value.Equals(false))
row.Visible = checkbox.Checked;
What's wrong in that???
Thanx....
Junior.