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 OriginalGriff 304
1 Maciej Los 285
2 Sergey Alexandrovich Kryukov 255
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 29 May 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