phong dinh

phong dinh

  • NA
  • 15
  • 0

How to read file xml dynamically into Listview in C#

May 25 2015 10:09 PM
Data file xml of me format dynamically.If I want to read file xml update follow timer and show listview?
Help me!
File Xml: 
<rss>
<project id="G103 Data Acquisition">
<subproject id="Sovigaz Project">
<item>
<id>3000/LOX_1[F98001]</id>
<status report="http://www.hbqsolution.com/DAQ/Admin/home/images/Report.png" logger="http://www.hbqsolution.com/DAQ/Admin/home/images/logger.png" stt="http://www.hbqsolution.com/DAQ/Admin/home/images/stop1hot.png"></status>
<actived>1139[mins]</actived>
<connection>89</connection>
<sendingrate>1min</sendingrate>
<samlingrate>Unknown</samlingrate>
<power>OK</power>
<temperate>Normal</temperate>
<gsmsignal>Good</gsmsignal>
<boxstatus>Closed</boxstatus>
<rstcnt>4</rstcnt>
<sendfailed>270</sendfailed>
<totalfrm>1135</totalfrm>
<gsmrst>6</gsmrst>
<fwrev>R2.0</fwrev>
<sensor>6AIs</sensor>
<warning>M:NoMsg</warning>
</item>
<item>
<id>3000/LOX_11[F98001]</id>
<status report="http://www.hbqsolution.com/DAQ/Admin/home/images/Report.png" logger="http://www.hbqsolution.com/DAQ/Admin/home/images/logger.png" stt="http://www.hbqsolution.com/DAQ/Admin/home/images/stop1hot.png"></status>
<actived>1136[mins]</actived>
<connection>89</connection>
<sendingrate>1min</sendingrate>
<samlingrate>Unknown</samlingrate>
<power>OK</power>
<temperate>Normal</temperate>
<gsmsignal>Good</gsmsignal>
<boxstatus>Closed</boxstatus>
<rstcnt>4</rstcnt>
<sendfailed>270</sendfailed>
<totalfrm>1135</totalfrm>
<gsmrst>6</gsmrst>
<fwrev>R2.0</fwrev>
<sensor>6AIs</sensor>
<warning>M:NoMsg</warning>
</item>
<item>
<id>LCO2[F98004]</id>
<status report="http://www.hbqsolution.com/DAQ/Admin/home/images/Report.png" logger="http://www.hbqsolution.com/DAQ/Admin/home/images/logger.png" stt="http://www.hbqsolution.com/DAQ/Admin/home/images/play1normal.png"></status>
<actived>2584[mins]</actived>
<connection>100</connection>
<sendingrate>1min</sendingrate>
<samlingrate>Unknown</samlingrate>
<power>OK</power>
<temperate>High</temperate>
<gsmsignal>Normal</gsmsignal>
<boxstatus>Closed</boxstatus>
<rstcnt>3</rstcnt>
<sendfailed>9</sendfailed>
<totalfrm>687</totalfrm>
<gsmrst>1</gsmrst>
<fwrev>R2.0</fwrev>
<sensor>6AIs</sensor>
<warning>M:NoMsg</warning>
</item>
<item>
<id>LCO2[F98004]</id>
<status report="http://www.hbqsolution.com/DAQ/Admin/home/images/Report.png" logger="http://www.hbqsolution.com/DAQ/Admin/home/images/logger.png" stt="http://www.hbqsolution.com/DAQ/Admin/home/images/stop1hot.png"></status>
<actived>2584[mins]</actived>
<connection>100</connection>
<sendingrate>1min</sendingrate>
<samlingrate>Unknown</samlingrate>
<power>OK</power>
<temperate>High</temperate>
<gsmsignal>Normal</gsmsignal>
<boxstatus>Closed</boxstatus>
<rstcnt>3</rstcnt>
<sendfailed>9</sendfailed>
<totalfrm>687</totalfrm>
<gsmrst>1</gsmrst>
<fwrev>R2.0</fwrev> 
<sensor>6AIs</sensor>
<warning>M:NoMsg</warning>
</item>
<item>
</subproject> 
</project> 
</rss 
 

Answers (2)