Random image

M

Miguel Dias Moura

Hello,

In an Asp.net / VB page I created a dataset which loads links from
images from an Access database.

To display an image i wrote the following line:
<img src='images/<%# dsImageBank.FieldValue("image", Container) %>' />

This displays the last image loaded.

I need to display the a random image of the list and not the last image
loaded.

How can i do that?

Thank You,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top