hello everyone,
here is the case, i have 24 images, that i want to show one image per day on the web.
for instance, today i am showing image 24.jpg, tomorrow 23.jpg etc, day after tomorrow 22.jpg etc.
thank you in advance.
Give the image name as per date example 25.png
And then write the following code
Image1.ImageUrl = DateTime.Today.Day.ToString() + ".png";
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.