Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB8.0 VB9.0 VB VB10.0 VB.NET
I want to display the data in the below xml file in a vb.net list box,I did tried a lot of example but i'm getting errors. 'EndElement' is an invalid XmlNodeType. Line 3, position 190.
plz help me !
<?xml version="1.0" encoding="UTF-8"?>
-<calls count="31" date="1360309147911"> <call date="1359279658478" photoid="0" name="nish" duration="29" new="1" numbertype="2" modified="1" type="2" number="7828609" iccid="8923001070620096930" modified_time="1360181147995"/> <call date="1359280316705" photoid="0" name="Mish" duration="6" new="1" numbertype="2" modified="1" type="2" number="7388609" iccid="8923001070620096930" modified_time="1360181147995"/>
Posted 13-Feb-13 2:47am
Edited 13-Feb-13 6:48am
v3
Comments
ryanb31 at 13-Feb-13 7:50am
   
One way would be to use the XMLDocument to load the file, go through the nodes, and add them to the list. There may be easier ways. Show us what you have so we can help.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
Go through this-
XML File Parsing in VB.NET[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 400
1 Jochen Arndt 200
2 Richard MacCutchan 135
3 DamithSL 95
4 Maciej Los 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 13 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100