Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42726

VS 2008 Loading xml string to listview?

$
0
0
Hello can somebody help me?

im trying to load xml string to listview details
Code:

dim xmlbooks as string
 xmlbooks  = "<result>
<books>
<title>title1</title>
<episode>episode1</episode>
<price>$15</price>

<title>title2</title>
<episode>episode2</episode>
<price>$16</price>

<title>title3</title>
<episode>episode3</episode>
<price>$18</price>
</books>
</result>"


Dim xmlstatus = XDocument.Parse(xxx)
msgbox (xmlstatus.<result>.<books>.<title>.Value)
msgbox (xmlstatus.<result>.<books>.<episode>.Value)
msgbox (xmlstatus.<result>.<books>.<price>.Value)

i got only single
how can i loop it and load to listview


thank you...

Viewing all articles
Browse latest Browse all 42726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>