Good day!
I am new to C# programming. I just need some help to display all images from images folder in my root directory in a form of href inside my div tag. Here is my Div tag code which I need to repat my images:
<div class="row margin-bottom-20">
<div class="sm-margin-bottom-20">
<a href="images/shopUI/img1.jpg" rel="shopUI" class="fancybox img-hover" title="Image 1">
<span>
<img class="img-fadeIn" src="images/shopUI/img1.jpg" alt=""></span>
</a>
</div>
<div class="sm-margin-bottom-20">
<a href="images/shopUI/img2.jpg" rel="shopUI" class="fancybox img-hover" title="Image 1">
<span>
<img class="img-fadeIn" src="images/shopUI/img2.jpg" alt=""></span>
</a>
</div>
</div>
Instead of repeating the Div manually with the Image FileName, I want to make it in a loop and automatically displays the image.
Thank you!