I have a list of rows like this (NULLs since i'm using DefaultIfEmpty)
Vol Component Dwg View Revision
Volume U01 Composed Drawings SJTest 1 B
Volume U01 Composed Drawings SJTest 1 A
Volume U01 Composed Drawings SJTest 1 NULL
Volume U03 Composed Drawings SJTest2 2 NULL
I want to sort by the last coln, (A,B,NULL) for each group and then get only the first row. So in this case I should have the final set as something like:
Volume U01 Composed Drawings SJTest 1 B
Volume U03 Composed Drawings SJTest2 2 NULL
Any thoughts ? I'm lost on how to get this from the grouping - first row of each group.
This is LINQ-SQL...sorry for forgetting that.
thanks Sunit