Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: XML Windows C#3.5
I have to save multiple datasets in XML and then I want to retrieve the datasets again.
 
as an example i have to retrive system information in two table at different times, I have scanned the system at 9 am with 3 tables say tbl_comp and tbl_processor and tbl_time I have saved it to xml.
<System>
  <tbl_time>
    <date>29/05/2013</date>
    <time>11:55</time>
  </tbl_time>
  <tbl_comp>
    <Name>Mycomp</Name>
    <OS>WINXP</OS>
    <RAM>2GB</RAM>
  </tbl_comp>
  <tbl_Processor>
    <ver>dualCore</ver>
    <speed>2ghz</speed>
  </tbl_Processor>
</System>
<System>
  <tbl_time>
    <date>29/05/2013</date>
    <time>13:55</time>
  </tbl_time>
  <tbl_comp>
    <Name>Mycomp</Name>
    <OS>WINXP</OS>
    <RAM>3GB</RAM>
  </tbl_comp>
  <tbl_Processor>
    <ver>dualCore</ver>
    <speed>2ghz</speed>
  </tbl_Processor>
</System>
 
both system ds are except the tbl_comp table column ram has been changed an dtbl_time has been changed
 
now I want to retrieve this as two datasets i.e. ds_1 and ds_2
 
please suggest a way to do so
Posted 28-May-13 22:47pm
Edited 28-May-13 22:48pm
v2

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

  Print Answers RSS
0 Zoltán Zörgő 260
1 /\jmot 205
2 CHill60 145
3 CPallini 135
4 Peter Leow 135
0 Sergey Alexandrovich Kryukov 9,373
1 OriginalGriff 6,881
2 Peter Leow 4,577
3 Zoltán Zörgő 4,244
4 CHill60 2,892


Advertise | Privacy | Mobile
Web02 | 2.8.150129.1 | Last Updated 29 May 2013
Copyright © CodeProject, 1999-2015
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