Sometimes it's useful to be able to display a randomly selected
image on a web page. Realizing that everyone's situation is a
little different, this sample gives you not just one or two, but
three different ways to display a random image using ASP.NET.
The methods are basically same as the three methods we use in our classic
ASP version, but obviously the code has been updated for .NET. The most notable
change is in method three which queries the file system for the list of
images to display.