Hello I am currently studying Linq and VB.NET
I am trying to build Linq which searching row ID if checkbox is check (another col)
for example, I am able to do without linq Cells(15) is Checkbox in the data grid view and Cells(0) is unique row ID COL...
For Each row As DataGridViewRow In DataGridView1.Rows
If row.Cells(15).Value = True Then
MsgBox(row.Cells(0).Value.ToString)
End If
Next
and I was trying to follow what other people are doing from
SELECT Unique rows from Datagridview using LINQ
DataGridView cell search using a LINQ query
however, I am not really sure how I can search checkbox where are in specific COL to find Row ID in another COL based on Linq....
Does anybody know how to do it ?
thanks