Strongly Typed dataset and XML

I have a problem. I need a lightweight data store. So instead of using a database i decided to use a XML file. But then came across Strongly Typed Datasets.
So I added a .xsd file to VS 2005 - then I just get lost. All the tutorials I have looked at always connect to a database which is what i don't want. Am i completely off the mark.

I thought i could use the .xsd file as a data store. So at the start of my app i would load it, then add, delete, change it. Then write it back over the old one dataset file.

Am I wrong?
Or is the .xsd file just the schema for the data?
Or should I just use a standard XML file?
or as someone got another storage method that could be used?

Thanks in advance
*Ribbleton_

Comments

  • If you are interested in light weight database, then xml is the right choice.But its not mendatory to use .xsd file.You can continue doing work with simple xml file. .NET provide many ways to load,store and update data in xml file.

    check out XmlDocument,XmlPath and many other Xml Classes available in .NET.
    Hop this wud hlp u.


    Regards
    Chintan Desai.
    http://www.visharadsoft.com
    India
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion