Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. XML

XML

Scheduled Pinned Locked Moved C#
xmlhelpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Morgs Morgan
    wrote on last edited by
    #1

    Hi everyone I have an XML file which I can read from using XmlDocument, XPath and XmlTextReader and all is well this far. But is there a way that I can write data to an XML file, lets say entered from textboxes using the XmlDocument class?:confused: Please I will appreciate any kind of help.. :doh:

    J P W 3 Replies Last reply
    0
    • M Morgs Morgan

      Hi everyone I have an XML file which I can read from using XmlDocument, XPath and XmlTextReader and all is well this far. But is there a way that I can write data to an XML file, lets say entered from textboxes using the XmlDocument class?:confused: Please I will appreciate any kind of help.. :doh:

      J Offline
      J Offline
      J4amieC
      wrote on last edited by
      #2

      XmlDocument, or (surprise, surprise) XmlTextWriter

      1 Reply Last reply
      0
      • M Morgs Morgan

        Hi everyone I have an XML file which I can read from using XmlDocument, XPath and XmlTextReader and all is well this far. But is there a way that I can write data to an XML file, lets say entered from textboxes using the XmlDocument class?:confused: Please I will appreciate any kind of help.. :doh:

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        XmlDocument has a Write method, doesn't it?

        1 Reply Last reply
        0
        • M Morgs Morgan

          Hi everyone I have an XML file which I can read from using XmlDocument, XPath and XmlTextReader and all is well this far. But is there a way that I can write data to an XML file, lets say entered from textboxes using the XmlDocument class?:confused: Please I will appreciate any kind of help.. :doh:

          W Offline
          W Offline
          wenjinxu
          wrote on last edited by
          #4

          XmlDocument xmlDoc; ....... change xmldoc ....... xmlDoc.Save(filePath);

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups