Update an XML File

Discussion in 'ASP .Net' started by =?Utf-8?B?UGF5eA==?=, Jul 14, 2005.

  1. I'm creating an ASP.NET(c#) tool that allows the user to edit an xml file.

    When the save button is clicked I want to commit the changes to the XML
    file. What is a good way to do this?

    I currently am reading the XML file into a DataSet using ds.ReadXMl() which
    I then bind to edit controls in a datalist.

    Thanks for the help.
     
    =?Utf-8?B?UGF5eA==?=, Jul 14, 2005
    #1
    1. Advertisements

  2. =?Utf-8?B?UGF5eA==?=

    vMike Guest

    "Payx" <> wrote in message
    news:...
    > I'm creating an ASP.NET(c#) tool that allows the user to edit an xml file.
    >
    > When the save button is clicked I want to commit the changes to the XML
    > file. What is a good way to do this?
    >
    > I currently am reading the XML file into a DataSet using ds.ReadXMl()

    which
    > I then bind to edit controls in a datalist.
    >
    > Thanks for the help.


    you might look into the dataset.writexml() method or xmldocument.save().
     
    vMike, Jul 15, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Cheng
    Replies:
    2
    Views:
    588
    Jim Cheng
    Jul 28, 2003
  2. Leona
    Replies:
    9
    Views:
    2,515
    Henry S. Thompson
    Nov 1, 2004
  3. Robert S

    UPnP xml file to WSDL xml file

    Robert S, Oct 14, 2005, in forum: XML
    Replies:
    1
    Views:
    1,315
    Robert S
    Oct 14, 2005
  4. jkflens
    Replies:
    2
    Views:
    1,751
    jkflens
    May 30, 2006
  5. Johan
    Replies:
    20
    Views:
    1,974
    Arndt Jonasson
    Feb 27, 2007
  6. Poirot
    Replies:
    0
    Views:
    1,545
    Poirot
    May 11, 2011
  7. Eric van Oorschot

    Copy characterdata from XML file to XML file

    Eric van Oorschot, Dec 7, 2005, in forum: Perl Misc
    Replies:
    12
    Views:
    304
    robic0
    Dec 10, 2005
  8. Erik Wasser
    Replies:
    5
    Views:
    864
    Peter J. Holzer
    Mar 5, 2006
Loading...