This version of our ASP.NET Photo Gallery sample reads the photo information from a simple XML file. To add or remove an image you simply edit the XML file and the script will pull in the updated information the next time it is run.
数据挖掘工具
It doesn′t do anything fancy with the XML data it just reads it from the file and copies the information into a SortedList. From that point on the sample is almost identical to the original non-XML version. 数据挖掘实验室
The XML file is tha same as the one used in our classic ASP version of the script. You can find the XML file here: photos.xml. 数据挖掘交友
If you′d like to play with them, the sample photos are available here: photos.zip (420 KB).
数据挖掘论坛
Here′s a zip file of the code (1.9 KB).
数据挖掘论坛
Play with the running version.
View the live source code.
数据挖掘交友