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. Web Development
  3. ASP.NET
  4. How to use an Xml file as a database?

How to use an Xml file as a database?

Scheduled Pinned Locked Moved ASP.NET
databasexmlhelptutorialquestion
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.
  • M Offline
    M Offline
    MinhajuddinK
    wrote on last edited by
    #1

    Hi there! Can you people help me in using an Xml file as a Database... Thank you.

    C 1 Reply Last reply
    0
    • M MinhajuddinK

      Hi there! Can you people help me in using an Xml file as a Database... Thank you.

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

      You can't run SQL on it, unless you can import it into a dataset. You'd use XPath to search it instead.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      B 1 Reply Last reply
      0
      • C Christian Graus

        You can't run SQL on it, unless you can import it into a dataset. You'd use XPath to search it instead.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        B Offline
        B Offline
        bernie_011
        wrote on last edited by
        #3

        hi i have two dates in my table, 03-23-2007 8:00:00 03-24-2007 8:00:00 I have two dropdown in my page use to filter between those two dates. i used to convert the two dates into CHAR CONVERT(CHAR(10),date,110) so the result is just "03/23/2007" and "03/24/2007" but the problem now is, when i filter the date like SELECT * FROM table WHERE date BETWEEN '03/23/2007' and '03/23/2007' returns no value but if my query is like : SELECT * FROM table WHERE date BETWEEN '03/23/2007' and '03/24/2007' it returs value but only the rows with the date '03/23/2007'. Any idea about that? Bernie

        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