I am using the latest version of Aspose.Words, populating a report with the LINQ Rpeorting Engine.
I have seen examples using GroupBy, but these examples never iterate over the returned collection, it usually just shows the Key.
Imagine this Layout:
<<foreach [in mainlist]>> <<[listName]>> <<foreach [in sublist.GroupBy(c=>c.groupValue)]>> - <<[Key]>> <<foreach [in Values]>> --<<[name]>>, <<[color]>><</foreach>> <</foreach>> <</foreach>>
Expected Output Would be:
This layout works for me - except this part <<foreach [in Values]>>. How can I loop through the IEnumarble that the GroupBy returns? What is the name of the list the groupBy returns?