hi all i have a little problem i need to order data from my database in this manner:
let's say i have list of orders
Now i want to sort the orders by Order Time and Company Name since Company A will be the first on the list (since it has the earlier order) i now want that all it's other orders of that company will be displayed.Code:Company ORDER | ORDER TIME ----------------------------------------- Company A | Order | 10:00 Company B | Order | 10:01 Company A | Order | 10:02 Company B | Order | 10:10 Company C | Order | 10:03 -----------------------------------------
I hope you get what i mean, the final order should be something like that:
before i get into code this i wanted to ask if there is quick LINQ solution to this ?Code:Company A - 10:00; Company A - 10:02; Company B - 10:01; Company B - 10:10; Company C - 10:03;




If you Like it 
Reply With Quote