I am using VB.NET and DataSets; I have two tables and a relation. I'm querying the first table, but I can't use Group By on any field of the table. Here's the error I am seeing:
Definition of method 'GroupBy' is not accessible in this context
And my code is as follows:
Dim Groups = From n In dataSetTableAsEnumerable _
Group By n.filedName Into Group
Thanks for any assistance.
Imports System.Linq on the top of your vb code file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With