Sorting by different titles

Results 1 to 2 of 2

Thread: Sorting by different titles

  1. #1
    Join Date
    Dec 1969

    Default Sorting by different titles

    Hello,<BR><BR>I want to sort anything with whatever I need to sort.I will explain this in detail.<BR><BR>suppose my opening page is like this.<BR><BR>Sno Projectname componentname subject etc.etc<BR><BR>suppose if I click sno,all rows should displayed inorder of sno.likewise if I click Projectname all rows should be displayed in ascending order etc etc.<BR><BR>Do we use any type controls in this?I mean any sort out controls just as we use in other programming languages.Please let me know.<BR><BR>regards<BR>vijay

  2. #2
    Join Date
    Dec 1969

    Default RE: Sorting by different titles

    no, you just use SQL&#039;s ORDER BY clause, and change the criteria dependent on what was clicked (hint : querystrings are useful)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts