How can I select a particular range of rows in a DataGridView programmatically at runtime?
DataGridView
DataGridView.Rows .OfType() .Where(x => (int)x.Cells["Id"].Value == pId) .ToArray()[0] .Selected = true;