Be seen. Boost your question’s priority for more expert views and faster solutions
I am struggling a bit in finding the correct syntax for LINQ, specifically the "Grouping" part. Here is an attempt I had made (based on some code I found on the net), but it obviously only is considering the SSN field, and not the other two fields I need.
SELECT SSN,GroupID,SubGroupID FROM PreImportData WHERE RIGHT(ClaimAdjustSeqNum,2)<>'00' GROUP BY SSN,GroupID,SubGroupID
Can anyone help me get the correct LINQ syntax?
Dim results = From p In PreImportData.AsEnumerable Where Right(p.Field(Of String)("ClaimAdjustSeqNum"), 2) <> "00" Select p.Field(Of String)("SSN").Distinct()