how to write Linq2Sql statement to sort several column in cascading way?

Posted by Richard77 on Stack Overflow See other posts from Stack Overflow or by Richard77
Published on 2010-06-06T04:11:13Z Indexed on 2010/06/06 4:12 UTC
Read the original article Hit count: 155

Filed under:

Hello,

I've 3 columns that I'd like to sort in the Excel way, i.e. sorting the first column, and for each element sorted in the first column, I'll sort the second column, and so on. Let's say I first sort alphabeticaly Countries, then for each country, I sort alphabeticaly cities. How do I do it using Linq2Sql?

Thanks for helping

© Stack Overflow or respective owner

Related posts about linq-to-sql