This tutorial is the final part of a 2 part series on .NET Collections, and focuses on a real world use for the ArrayList class. It will demonstrate how to use an ArrayList collection to display all the image files stored in a directory as well as display each image file’s associated file information. The display layout of the images and data is handled using a DataList control. The image browser will also utilize classes in Namespaces other than System.Collections to incorporate paging, providing the end user with a mechanism to view a specific number of images per page view and also to display image specific file system information.
This tutorial will cover the following topics:
Overview
This tutorial will cover the following topics:
- A recap of the ArrayList Class
- An Introduction to the DataList
- DataBinding an ArrayList to a DataList
- An Introduction to the PagedDataSource Class
- Implementing Paging
- An Introduction to the System.Drawing.Image Class
- Extracting Image dimensions
I live in Perth, Scotland and am senior programmer with WebXeL.com Ltd. I have been involved in computer programming since 1990, web based programming using ASP since 1997 and have been building ASP.NET applications since ASP.NET Beta 2 was released.



