Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. sorting table

sorting table

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-serversysadmin
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prateekfgiet
    wrote on last edited by
    #1

    hi i m using asp.net and sql server 2000 i enter some value in table and then bind this table to dropdown list it sort automatically like aaa bbb ccc --select-- while i want, its should be like --select-- aaa bbb ccc pls help thanks

    A 1 Reply Last reply
    0
    • P prateekfgiet

      hi i m using asp.net and sql server 2000 i enter some value in table and then bind this table to dropdown list it sort automatically like aaa bbb ccc --select-- while i want, its should be like --select-- aaa bbb ccc pls help thanks

      A Offline
      A Offline
      AhsanS
      wrote on last edited by
      #2

      You need to add each item using for loop. First you will add the "select" and then columns from your table

      Ahsan Ullah Senior Software Engineer MCTS 2.0

      P 1 Reply Last reply
      0
      • A AhsanS

        You need to add each item using for loop. First you will add the "select" and then columns from your table

        Ahsan Ullah Senior Software Engineer MCTS 2.0

        P Offline
        P Offline
        prateekfgiet
        wrote on last edited by
        #3

        when i insert first --select-- then aaa,then bbb it will automatically sort like aaa --select-- bbb

        B 1 Reply Last reply
        0
        • P prateekfgiet

          when i insert first --select-- then aaa,then bbb it will automatically sort like aaa --select-- bbb

          B Offline
          B Offline
          Baran M
          wrote on last edited by
          #4

          plz post your code with your server controls !

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups