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. General Programming
  3. Visual Basic
  4. how to view data grid in ascending and descending order? [modified]

how to view data grid in ascending and descending order? [modified]

Scheduled Pinned Locked Moved Visual Basic
csstutorialquestion
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.
  • C Offline
    C Offline
    campbells
    wrote on last edited by
    #1

    how to view data grid in ascending and descending order? I have try create a button and the coding here: Adodc1.Recordset.Sort = Desc DataGrid1.Visible = True Adodc1.Refresh but nothing happen when i click it. is that the correct command? -- modified at 0:59 Monday 14th August, 2006

    M A 3 Replies Last reply
    0
    • C campbells

      how to view data grid in ascending and descending order? I have try create a button and the coding here: Adodc1.Recordset.Sort = Desc DataGrid1.Visible = True Adodc1.Refresh but nothing happen when i click it. is that the correct command? -- modified at 0:59 Monday 14th August, 2006

      M Offline
      M Offline
      manowj
      wrote on last edited by
      #2

      Hi, Check with Datagrid property [onSort] in property window.

      Regards, Manowj

      1 Reply Last reply
      0
      • C campbells

        how to view data grid in ascending and descending order? I have try create a button and the coding here: Adodc1.Recordset.Sort = Desc DataGrid1.Visible = True Adodc1.Refresh but nothing happen when i click it. is that the correct command? -- modified at 0:59 Monday 14th August, 2006

        M Offline
        M Offline
        manowj
        wrote on last edited by
        #3

        Hi, Check in Property Window of Datagrid [onSort].

        Regards, Manowj

        1 Reply Last reply
        0
        • C campbells

          how to view data grid in ascending and descending order? I have try create a button and the coding here: Adodc1.Recordset.Sort = Desc DataGrid1.Visible = True Adodc1.Refresh but nothing happen when i click it. is that the correct command? -- modified at 0:59 Monday 14th August, 2006

          A Offline
          A Offline
          amilapradeep
          wrote on last edited by
          #4

          please mention the version of ide u use.in vb 2005 this property is available on property window.go n chk there

          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