ListBox sort

Discussion in 'ASP .Net Web Controls' started by Colin Basterfield, Jun 24, 2004.

  1. Hi,

    Is it possible to sort a web control ListBox?

    TIA
    Colin
     
    Colin Basterfield, Jun 24, 2004
    #1
    1. Advertisements

  2. Colin Basterfield

    Teemu Keiski Guest

    Hi,

    via its DataSource yes. For example bind it to a SortedList or do sorting in
    db query (in SQL or DataTable/DataView before binding)

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist
    http://blogs.aspadvice.com/joteke



    "Colin Basterfield" <> wrote in message
    news:%...
    > Hi,
    >
    > Is it possible to sort a web control ListBox?
    >
    > TIA
    > Colin
    >
    >
     
    Teemu Keiski, Jun 24, 2004
    #2
    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. blenderdude
    Replies:
    0
    Views:
    1,209
    blenderdude
    Aug 3, 2003
  2. DC Gringo
    Replies:
    0
    Views:
    459
    DC Gringo
    Apr 6, 2004
  3. kent
    Replies:
    1
    Views:
    955
    Andrew de la Harpe
    May 3, 2004
  4. Simon Prince
    Replies:
    2
    Views:
    3,440
    =?Utf-8?B?TWljaGFlbCBUYXlsb3I=?=
    Oct 19, 2004
  5. Navin
    Replies:
    1
    Views:
    868
    Ken Schaefer
    Sep 9, 2003
Loading...

Share This Page