Sort Datagrid

Discussion in 'ASP .Net Datagrid Control' started by malin@o2.pl, Aug 29, 2005.

  1. Guest

    Hi


    I have one question, can i sort DataGrid with two parameters ?
    that's mind if i have three columns in dataggrid: First Name, Last
    Name, Office

    John, Smith, New York
    John, Johnson, Oklahoma
    Jeff, Jhonson, New York
    Mug, Gates, New York

    and when i click sort to Office i have sorted data but i have on more
    Offices with this same Name, so i want when i sorted by Office the
    second parameters sort with example Last Name.

    The result i want:

    Mug, Gates, New York
    Jeff, Jhonson, New York
    John, Smith, New York
    John, Johnson, Oklahoma

    Big tx for all answers
    malin
    , Aug 29, 2005
    #1
    1. Advertising

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. Eugene
    Replies:
    0
    Views:
    476
    Eugene
    Sep 28, 2004
  2. nobody
    Replies:
    0
    Views:
    529
    nobody
    Jun 1, 2004
  3. JerryJ
    Replies:
    11
    Views:
    1,387
    Dave Moore
    Apr 28, 2004
  4. John Black
    Replies:
    6
    Views:
    2,047
    John Harrison
    May 28, 2004
  5. Navin
    Replies:
    1
    Views:
    672
    Ken Schaefer
    Sep 9, 2003
Loading...

Share This Page