SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : Microsoft .NET :

Previous DiscussionNext Discussion
 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

No Responses

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2004 InsideDHTML.com, LLC. All rights reserved.