Using the .NET Collection Classes Part 2
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.
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.
I have been an avid Dreamweaver user since Version 1 was launched and with the release of MX have moved into developing extensions. WebXeL run a website dedicated to the development of free and commercial Dreamweaver MX extensions for ASP.NET, the site can be found at http://www.webxel-dw.co.uk.
See All Postings From Kevin Marshall >>
Reviews
Be the first to write a review
You must me logged in to write a review.