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 Query in C#

XML Query in C#

Scheduled Pinned Locked Moved C#
csharpasp-netdatabasexmltutorial
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.
  • P Offline
    P Offline
    Priyagdpl
    wrote on last edited by
    #1

    Hi All, Please tell me how to write XML query in Asp.net. I hav temple.xml file which contain data of temple. now i want to apply search on it.

    N C 2 Replies Last reply
    0
    • P Priyagdpl

      Hi All, Please tell me how to write XML query in Asp.net. I hav temple.xml file which contain data of temple. now i want to apply search on it.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Load the XML file into XmlDocument instance and write XPath[^] query.

      Best wishes, Navaneeth

      1 Reply Last reply
      0
      • P Priyagdpl

        Hi All, Please tell me how to write XML query in Asp.net. I hav temple.xml file which contain data of temple. now i want to apply search on it.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        The ASP.NET part is irrelevant. You want to use C#. So, what version of C# do you have ? That will determine if you want to use LINQ or if you need to use the XMLDocument class.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        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