Dataset and XML-File RRS feed

  • Question

  • Hello,

    can soneone tell me, how i can fill a dataset from a XML-File?

    Is it only possible by the Dataset methods readXML and readXMLSchema? As far as i know this methods read the whole xml-File. I would like to just read a piece of the xml File-Structure, update them if needed and store them back.

    Currently i am working on a project where the 'database' consists of some xml Files. Later in the project we may switch to a real database.

    So we think about working on datasets so we can switch from XML-Source to DB-Source without changing the LinQ queries on the Datasets. This way our O/R mapping would take place on the Dataset, independend from the given DB-Source.

    But as long as we have to read the whole xml-Files we will run in performance problems.


    thanks for help,




    Wednesday, June 4, 2008 10:40 AM

All replies