| Better way to write XML?|
Ok, I'm working on a small personal project. What I want to do is take some general input, write it to an XML file, and then recall the data later.
So, what I'm doing now is kinda clunky, I think, and may eventually become very slow.
Here's what I do:
1. Open the XML file.
2. Read any data in the XML file into a DataTable
3. Add the new data to the DataTable
4. Write back to the XML.
As you can see, I don't think this is the most efficient way to do this, and as the XML file gets larger (it could theoretically have hundreds of entries), I can see this getting slower. I don't have the code in front of me right now, but I will post it as soon as I can.
Anyone have any thoughts on this?
Started By Monte on Feb 10, 2011 at 8:12:36 AM