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. reading data into a windows form from a xml file

reading data into a windows form from a xml file

Scheduled Pinned Locked Moved C#
data-structuresxmltutorial
3 Posts 3 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.
  • S Offline
    S Offline
    Sonu T
    wrote on last edited by
    #1

    hi all, i need some inputs on how to get data into a windows form textbox from an xml file.. for eg..i have a tree with a context menu attached to it. i also have a panel which display the properties of the node. when i click on node1 menuitem(called properties) the panel will appear showing the properties of the node. some of these properties have to be read from a xml file and they have to be displayed in the corresponding textbox. the xml file will have data for all the nodes.

    Sonu

    B 1 Reply Last reply
    0
    • S Sonu T

      hi all, i need some inputs on how to get data into a windows form textbox from an xml file.. for eg..i have a tree with a context menu attached to it. i also have a panel which display the properties of the node. when i click on node1 menuitem(called properties) the panel will appear showing the properties of the node. some of these properties have to be read from a xml file and they have to be displayed in the corresponding textbox. the xml file will have data for all the nodes.

      Sonu

      B Offline
      B Offline
      bankai123
      wrote on last edited by
      #2

      You may have already look here, but the XMLReader class looks like it would be helpful http://msdn2.microsoft.com/en-us/library/system.xml.xmlreader.aspx[^]

      P 1 Reply Last reply
      0
      • B bankai123

        You may have already look here, but the XMLReader class looks like it would be helpful http://msdn2.microsoft.com/en-us/library/system.xml.xmlreader.aspx[^]

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

        You can read XML directly into datasets like Dataset.ReadXml(Path)

        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