Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
C#
<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
Updated 28-May-13 21:48pm
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900