Skip to content

Instantly share code, notes, and snippets.

@wingedpanther
Created November 19, 2015 11:31
Show Gist options
  • Save wingedpanther/d92b04f185acc3b299ba to your computer and use it in GitHub Desktop.
Save wingedpanther/d92b04f185acc3b299ba to your computer and use it in GitHub Desktop.
Get a list of selected Rows in DataGrdiView
Dim selectedRows As List(Of DataGridViewRow) = (From row In dataGridView1.Rows.Cast(Of DataGridViewRow)() _
Where Convert.ToBoolean(row.Cells("checkBoxColumn").Value) = True).ToList()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment