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. how to read particular data from xml file

how to read particular data from xml file

Scheduled Pinned Locked Moved C#
xmltutorial
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.
  • S Offline
    S Offline
    sivaramireddy p
    wrote on last edited by
    #1

    how to read particular data from xml file

    S R M 3 Replies Last reply
    0
    • S sivaramireddy p

      how to read particular data from xml file

      S Offline
      S Offline
      SABhatti
      wrote on last edited by
      #2

      well you can load the xml document in dataset using dataset.ReadXML or you can load the xml document using xmldocument.load and then read the data using xpath or best thing is to google it[^]

      -----

      1 Reply Last reply
      0
      • S sivaramireddy p

        how to read particular data from xml file

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #3

        See this[^] link. /ravi

        This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

        1 Reply Last reply
        0
        • S sivaramireddy p

          how to read particular data from xml file

          M Offline
          M Offline
          m0
          wrote on last edited by
          #4

          If the XML file is small, I would use Xml Serialization that will convert the textual xml file into an object which would be easy to read since it is an object. If hte XML file is a complex large file, then you can use the XmlReader class that that you can traverse the structure and process it. Either way, take a look MSDN website and you will find excellent examples that Microsoft provided you.

          Microsoft Student Partner

          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