Click to See Complete Forum and Search --> : Having problems getting started in .net with xml


minibussey
05-21-2004, 09:23 PM
Hi there

I have recently started learning asp.net, i wish to create a xml database with pictures stored. The script would then display the pictures as a viewer. I am currently having trouble finding out how to do this, i am sure it is fairly simple...

Thank you very much
Brendon

PeOfEo
05-21-2004, 10:33 PM
Originally posted by minibussey
Hi there

I have recently started learning asp.net, i wish to create a xml database with pictures stored. The script would then display the pictures as a viewer. I am currently having trouble finding out how to do this, i am sure it is fairly simple...

Thank you very much
Brendon why do you want to use xml? You can't store images in an xml data base, you can store the urls and such, but there is no way to store a file. I would only use xml for very small data projects, as it is one step above a text file. I would use mssql server followed by msde, followed by access, followed by xml. That is my data base pecking order. I guess I could throw in mysql under mssql, but I have never used mysql.

CardboardHammer
05-24-2004, 10:28 AM
Actually, you could store files within XML if you encoded them properly, but it certainly wouldn't be efficient in either speed or size. XML works better as a format for data interchange than as a structure for a database. There are plenty of free databases that are superior to using XML as a database.

PeOfEo
05-25-2004, 12:11 AM
yes, my best use of xml as a way of storeing data is config files.