Created
November 19, 2015 11:32
-
-
Save wingedpanther/10653c682df1efc0814e to your computer and use it in GitHub Desktop.
get counts of values in a column DGV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim count = (From row As DataGridViewRow In dgvb.Rows _ | |
Where row.Cells("Name").Value = "Sunshine" And row.Cells("Name").Value IsNot DBNull.Value _ | |
Select row.Cells("Name").Value).Count() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment