How can I display an image randomly in ASP.Net?
ebabes
0
Junior Poster in Training
Recommended Answers
Jump to PostYour easiest and quickest way to do this would be to name all your images a number. Then use the "Random()" command and generate a number between 0 and the amount of files you have.
Otherwise you can loop through each file within the folder and put it into …
All 4 Replies
SheSaidImaPregy
28
Veteran Poster
ebabes
0
Junior Poster in Training
SheSaidImaPregy
28
Veteran Poster
SheSaidImaPregy
28
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.