Hi,
I need to write some data into an XML file. I am using C# and that should work with (.Net Compact Frame Work).
My XML file almost looks like:
<student>
<id>1001</id>
<name>Justin Smith</name>
<date>2008-01-01</date>
<time>09:35:21</time>
</student>
The problem is that i don't want to reload the entire XML file every time i want to write in it. The code should be able to append to the XML file with new student record at the bottom of the XML file. That means it wont be slow if the file grows up.
All data will be prepared by me in string variables and what i need is how to append them into a new record in the XML. Currently, i don't need to read the XML file and i don't care how big this XML file is. I just needs to keep logging into it.
By the way, I am using Framework 2.0 not 3.0
The point of asking this is that i am not a C# pro. Just doing some small project and needs help.
Regards
Start Free Trial