I keep getting this error message
is not queryable. Make sure you are not missing an assembly reference and/or namespace import for the LINQ
For Each r As product In DataStore.lm
count = (From n In r Where n.l1 = num Or n.l2 = num Or n.l3 = num Or n.l4 = num Or n.l5 = num Or n.l6 = num Or n.l7 = num Or n.l8 = num).Count
Next
Imports System.Collections.Generic
Imports System.Linq
Imports System.Linq.Expressions
It complains about r in the linq?
is not queryable. Make sure you are not missing an assembly reference and/or namespace import for the LINQ
For Each r As product In DataStore.lm
count = (From n In r Where n.l1 = num Or n.l2 = num Or n.l3 = num Or n.l4 = num Or n.l5 = num Or n.l6 = num Or n.l7 = num Or n.l8 = num).Count
Next
Imports System.Collections.Generic
Imports System.Linq
Imports System.Linq.Expressions
It complains about r in the linq?