Hi there,
Kirk yesterday helped me with this problem http://stackoverflow.com/questions/2491482/linq-grouping-by-and-creating-a-formula-based-on-the-returned-results
Which works perfectly if I am using a custom list to group against.
My Linq query is returning 4 fields int ItemID,int ItemTypeID,double ItemPrice,int ProcessedType
Lets say I have 10 results returned which look like this
How can I group by ItemTypeID and the ItemPrice only if ProcessedType =1
Any suggestions would be great!
Thank you