Arrange date in descending order

Hi @sangasangasanga,

Use below LINQ code to sort the datatable

(From p In dataTable Order By DateTime.ParseExact(p.Item("Date").ToString, "d MMM yyyy", System.Globalization.CultureInfo.InvariantCulture) Descending Select p).CopyToDataTable

Regards,
Arivu

2 Likes