Linq は初めてです。VB の order by の構文は何ですか?
Dim cxt As New datContext
Dim qry = (From lst In cxt.zipcodes _
Select lst.state).Distinct
qry = qry.OrderBy()
私の単純な SQL ステートメントは次のようになります。
Select distinct state from zipcodes
order by State