Category: ASP.net

In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this ?

A. Use the ImageMap control and randomly select a HotSpot to show or hide.
B. Use the AdServer control and create an XML file with configuration of the control.
C. Use an ImageButton control to predict randomness of the image to be loaded based on the clicks of the control.
D. Use the Image control to hold the image and a Calendar control to randomly select a date for each image to be displayed.