Using the .NET Collection Classes Part 2

18353 Users read it.
by Kevin Marshall
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. 
User Rating (5 votes)
2 reviews available | Read the reviews »
$3.39 USD

User Level:Beginner
Product:Visual Studio.NET, Web Matrix, CSharp Editor, Dreamweaver MX, Borland C#
Server Language:VB.NET
Technologies:.NET
Number Of Pages:23

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

User Reviews

Total of 2 reviews
BC30390: 'jetx.ProjectDetail.Pages' is not accessible in this context because it is 'Private'.
Written by Martyn Cook on October 24, 2005

When using the paging code from this article I get the above error. Any ideas why?

Displaying a large image
Written by Martyn Cook on October 24, 2005

I've followed through your articles 'ASP.NET: Uploading an Image and creating a thumbnail', 'Working with the Server's file system using ASP.NET ', & Parts I & II of this article successfully to create a photo gallery for a client that ...

Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency