Order by with LINQ to XML(soulsolutions.com.au)
submitted by
BronwenZ(230) 4 years, 2 months ago
Was playing with Linq to XML today and wanted to do an orderby based on one of the fields in the xml file.
It's a bit different to SQL as the orderby goes between the from and the select.
My code below shows selecting everything and ordering by the eventdate descending.
|category: Linq
|Views: 118
tags:
LINQ another
Everyones tags:
Your Tags: