I have been having an Issue trying to get this in Linq.
Context: I have a table on a document, If the object contains many rows of the same type I need to display a basic text stating that the data can be seen below in a different table, other wise show the single row of data per type. Pretty simple If statement and done. The problem I am having Is grouping and selecting the first one. I am receiving the following error:
An error has been encountered at the end of expression ’ TableRow row in Data.getRows().groupBy(x => x.getRowType()).select(g => g.first()).t’. Can not resolve method ‘select’ on type ‘interface asposewobfuscated.zzQU$zzW’.
How would I select the first entire Row object from each group to do my foreach on?