get price value in descending order which is in xml
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
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.
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