joe_pool_is
Well-known member
I have a DataBound DataGridView on a form that ties into our companys records of all employees, both past and present.
We want the DataGridView to include all of the employees, but also include the ability to view only active or only past employees.
I have tried hiding individual rows like so:
But, the compiler will not allow this.
Does anyone have any other ideas? Can this be done with a DataBound DataGridView?
We want the DataGridView to include all of the employees, but also include the ability to view only active or only past employees.
I have tried hiding individual rows like so:
Code:
DataGridView1.Rows[i].Visible = false; // C# syntax
Does anyone have any other ideas? Can this be done with a DataBound DataGridView?