xml as data store


I would like to see an example where xml is used as data store. I need to do this with ASP.net as front end.
This is for interim purposes till the presentation layer is developed. Later it will be ported to SQL Server.
I have around 10 tables to use with relationships etc.

Thanks for your time.
Who is Participating?
Kevin CrossConnect With a Mentor Chief Technology OfficerCommented:
To clarify, are you indicating that the ultimate goal is to have SQL Server backend the ASP.NET page, but in the interim you want to use XML files? If so, this article may help you understand how to read XML into .NET DataSets: http://www.4guysfromrolla.com/articles/052902-1.aspx

It also shows how you would write updated XML out.

When you port this to SQL Server, the source of the DataSet would simply change to SQL. Additionally, there are other options like LINQ that would allow you to use LINQ to XML then later LINQ to SQL.
JyozealAuthor Commented:
mwvisa1: sorry for delay in reply. My intention is the same as you described.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.