CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    May 2010
    Posts
    18

    [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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured