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. get price value in descending order which is in xml

get price value in descending order which is in xml

Scheduled Pinned Locked Moved Visual Basic
csharpxmlquestion
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
    subbu sk
    wrote on last edited by
    #1

    Hai all, i had one xml table

    1 xyz $20 <pid>2</pid> <pname>abc</pname> <price>$50</price> <pid>1</pid> <pname>lmn</pname> <price>$10</price>

    here i just wanr to get the value of price in ascending order by using vb.net?

    Thanks Subbu.

    M 1 Reply Last reply
    0
    • S subbu sk

      Hai all, i had one xml table

      1 xyz $20 <pid>2</pid> <pname>abc</pname> <price>$50</price> <pid>1</pid> <pname>lmn</pname> <price>$10</price>

      here i just wanr to get the value of price in ascending order by using vb.net?

      Thanks Subbu.

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Read your XML file into a dataset Get the defaultview of the table into a dataview Set the sort field of the dataview and reiterate the rows. Alternatively you could use Linq

      Never underestimate the power of human stupidity RAH

      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