May 31st, 2010, 12:05 PM
[RESOLVED] C# XML Troubles - Need Examples
Basically, I want my program to check if an XML file exists. If it doesn't, I want my program to create it, otherwise, I want my program to load it.
Also, I have a form with info, every time I click submit, I want to add that info to an existing or new database.
I am having a very difficult time finding examples of this, even though I imagine it to be quite a common task. Anyone have any resources on this?
Edit: I did start using XmlTextWriter, but then I was told it shouldn't be used for updating, even though it has been by far the easiest method I've used to add info to an XML database.
Edit 2: This solved my problem http://www.devx.com/tips/Tip/21168 .
Last edited by Octanum; May 31st, 2010 at 12:58 PM.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.