Your Question is not very clear to me. If you want to get
DataGridViewRows
which are having checked value true for
DataGridViewCheckBoxColumn
then you may try as below code.
foreach (DataGridViewRow dataGridRow in dataGridView1.Rows)
{
if (dataGridRow.Cells["YourCheckboxColumn"].Value != null && (bool)dataGridRow.Cells["YourCheckboxColumn"].Value)
{
}
else if (dataGridRow.Cells["YourCheckboxColumn"].Value == null)
{
}
}