datagrid sort by date

Discussion in 'ASP .Net Datagrid Control' started by rsj@gisportalen.dk, Jan 19, 2005.

  1. Guest

    Hi!

    I have a datagrid which is populated from an Access database. I have a
    column in the database and in the datagrid where the values are of the
    data type 'Date' (for example 22-11-2003). I want the contents of the
    datagrid to be sorted by the date field with the 'youngest' records
    listed first. But I can´t figure out how to do that?! Can anyone help
    me - perhaps with a code example or a link to an example?

    Kind regards
     
    , Jan 19, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    1
    Views:
    827
    Matthew Speed
    Nov 8, 2003
  2. Peter Grison

    Date, date date date....

    Peter Grison, May 28, 2004, in forum: Java
    Replies:
    10
    Views:
    3,773
    Michael Borgwardt
    May 30, 2004
  3. Matt
    Replies:
    2
    Views:
    750
    Pete Becker
    Nov 8, 2003
  4. Matt
    Replies:
    3
    Views:
    929
    Richard Heathfield
    Nov 8, 2003
  5. cindy

    datagrid sort string (is representation of date) as a DATE

    cindy, Mar 31, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    314
    Steven Cheng[MSFT]
    Mar 31, 2006
  6. Navin
    Replies:
    1
    Views:
    1,115
    Ken Schaefer
    Sep 9, 2003
  7. Matt
    Replies:
    11
    Views:
    640
    Aaron Bertrand [MVP]
    Nov 8, 2003
  8. Robert Marley
    Replies:
    2
    Views:
    397
    Jesús Gabriel y Galán
    Sep 8, 2008
Loading...