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

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

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. Hartmut Schroth
    Replies:
    3
    Views:
    3,543
    Hartmut Schroth
    Dec 1, 2003
  2. joun
    Replies:
    9
    Views:
    2,280
    W.G. Ryan eMVP
    Nov 30, 2004
  3. Jim Cheng
    Replies:
    2
    Views:
    525
    Jim Cheng
    Jul 28, 2003
  4. jkflens
    Replies:
    2
    Views:
    1,544
    jkflens
    May 30, 2006
  5. Erik Wasser
    Replies:
    5
    Views:
    522
    Peter J. Holzer
    Mar 5, 2006
Loading...

Share This Page