Sure. Use System.IO.Direc toryInfo.GetFil es to get the list of files, use
method of the Random class to generate a random number between 0 and the
count of the files and select from the file list the file with the generated
index.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
Comment