Sorting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akv006
    New Member
    • Oct 2007
    • 8

    Sorting

    Hi all

    Am very new to asp.net and would like to explore more.Can anyone of u pls explain how to sort a column using the sort button in the headers.
    ie,when we click the button in the column header sorting should be done and also the button should be changed for sorting in the reverse order.

    Thanks in advance
  • balabaster
    Recognized Expert Contributor
    • Mar 2007
    • 798

    #2
    Originally posted by akv006
    Hi all

    Am very new to asp.net and would like to explore more.Can anyone of u pls explain how to sort a column using the sort button in the headers.
    ie,when we click the button in the column header sorting should be done and also the button should be changed for sorting in the reverse order.

    Thanks in advance
    In a listbox? gridview? datalist? and in C# or VB? You need to be more specific about what you're using and what you're trying to achieve in order to get coherent responses.

    Maybe specify something along the lines of - "I'm writing a web application in C# and I'm trying to get my listbox to column sort and display an ascending/descending icon in the column header when you click the column header, but I have no idea where to start...can anyone please help?"

    I'm not sure if that's what you're asking though... so can you please clarify?

    Comment

    • akv006
      New Member
      • Oct 2007
      • 8

      #3
      Originally posted by balabaster
      In a listbox? gridview? datalist? and in C# or VB? You need to be more specific about what you're using and what you're trying to achieve in order to get coherent responses.

      Maybe specify something along the lines of - "I'm writing a web application in C# and I'm trying to get my listbox to column sort and display an ascending/descending icon in the column header when you click the column header, but I have no idea where to start...can anyone please help?"

      I'm not sure if that's what you're asking though... so can you please clarify?
      Am sorry..I am using a grid to populate my database and am coding in VB.

      Comment

      Working...