TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Emma Emma
NA
101
55.5k
xml datagridview xpath
May 17 2013 4:17 AM
Hi,
I have one task about XML file. First I need to load one xml file, then depending on the value of Zip the information from xml file need to be divided into 2 datagridviews. The xml file looks like this:
- <Employees>
- <NO1>
<Name>Ma Jin Hu</Name>
<ZIP>333</ZIP>
<Address>Feng Huang Street</Address>
<City>Chu Zhou City</City>
<State>ANHUI</State>
</NO1>
- <NO2>
<Name>Wang Tian</Name>
<ZIP>239</ZIP>
<Address>Lang Ya Street</Address>
<City>He Fei City</City>
<State>ANHUI</State>
</NO2>
- <NO3>
<Name>Zou Wen Biao</Name>
<ZIP>100</ZIP>
<Address>Sai Di Street</Address>
<City>Bei Jin City</City>
<State>Bei Jin</State>
</NO3>
</Employees>
For example: when Zip <200 all the information goes to datagridview1. when Zip>200, the information goes to datagridview 2. ...so in this case in datagridview1 there should have all the information from NO3, datagridview2 should have information from No1 and NO2...
Can anyone help me? thanks a lot..I tried long time, but nothing works so far...Thanks
Reply
Answers (
2
)
convert a string in xml node to xml
how to use rfid for student attendance system