RemoveRows

RemoveRows takes a Func<DataGridViewCell, bool> parameter for searching specific cells and removing the rows containing those cells. Example:

_dataGridView.RemoveRows(
                x => x.Value.ToString() == "[email protected]"
                );

Last updated

Was this helpful?