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. Database & SysAdmin
  3. Database
  4. Data in Alphabetical order

Data in Alphabetical order

Scheduled Pinned Locked Moved Database
csharpdatabasesql-servervisual-studiosysadmin
4 Posts 4 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.
  • A Offline
    A Offline
    amit2011
    wrote on last edited by
    #1

    i am working on Visual Studio 2005 n SQL server 2005.i have written some data value in random order in a table,now i want that,when i access that table in a DropDownList then those values should appear in ALPHABETICAL ORDER... kindly help..thanx a lot..

    A V L 3 Replies Last reply
    0
    • A amit2011

      i am working on Visual Studio 2005 n SQL server 2005.i have written some data value in random order in a table,now i want that,when i access that table in a DropDownList then those values should appear in ALPHABETICAL ORDER... kindly help..thanx a lot..

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

      From memory, the dropdown list has a sort property? Or maybe use ORDER BY in your select?

      Bob Ashfield Consultants Ltd

      1 Reply Last reply
      0
      • A amit2011

        i am working on Visual Studio 2005 n SQL server 2005.i have written some data value in random order in a table,now i want that,when i access that table in a DropDownList then those values should appear in ALPHABETICAL ORDER... kindly help..thanx a lot..

        V Offline
        V Offline
        Vimalsoft Pty Ltd
        wrote on last edited by
        #3

        You can do it from SQl with select ColumnName from my_table Order by ColumnName Asc Or you can do what is suggested by the other guy here. Hope this helps

        Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

        1 Reply Last reply
        0
        • A amit2011

          i am working on Visual Studio 2005 n SQL server 2005.i have written some data value in random order in a table,now i want that,when i access that table in a DropDownList then those values should appear in ALPHABETICAL ORDER... kindly help..thanx a lot..

          L Offline
          L Offline
          leckey 0
          wrote on last edited by
          #4

          History of posting same question in multiple forums and not using Google for basic questions.

          Blog link to be reinstated at a later date.

          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