ani tha

ani tha

  • NA
  • 3
  • 6k

date sorted in descending order from the array

May 6 2011 1:46 PM
i retrieve data from database and binded to grid in that i have date(field)
> having timestamp(datatype), when i search i get the records with different
> fields with it  in an array then i bind it to the datagrid.row.add(grid
> fields1,2,3)
> how to get the date sorted in descending order from the array and display in
> grid
> get the latest date first and then others after
> using c#
>cannot access the database i have to use array can u give me some suggestion reg it
the records which is stored in array is already binded to grid but my requirement is it should be sorted in descending order
from array the datefield should be sorted that's it- any suggestion please


Answers (2)