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 dataView by using ordinal

sorting dataView by using ordinal

Scheduled Pinned Locked Moved ASP.NET
databasealgorithmshelptutorial
2 Posts 2 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.
  • S Offline
    S Offline
    sishya
    wrote on last edited by
    #1

    Hi till now i had been using a contol which used to take sql statement for sorting . the sql statement looked like "select * from emp order by 2 desc" But now i am using a dataset which i am getting thru executing a stored procedure. I am converting dataset into dataview and maintaining its view state But the problem is i have to sort like the above sql command by ordinal. is it possible to do the same in dataView.If so pls let me know how to do it. thks in advance

    M 1 Reply Last reply
    0
    • S sishya

      Hi till now i had been using a contol which used to take sql statement for sorting . the sql statement looked like "select * from emp order by 2 desc" But now i am using a dataset which i am getting thru executing a stored procedure. I am converting dataset into dataview and maintaining its view state But the problem is i have to sort like the above sql command by ordinal. is it possible to do the same in dataView.If so pls let me know how to do it. thks in advance

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

      did you try the sort propert of DataView? Nav.

      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