I have the following div tag :
<div class="slideshow"></div>
I would like to create several img tags inside that div in c# codebehind as follows :
<div class="slideshow">
<img src="images/image1.png" alt="" width="600" height="300" />
<img src="images/image2.png" alt="" width="600" height="300" />
<img src="images/image3.png" alt="" width="600" height="300" />
</div>
How can i do this ?
Try to convert
htmltag toHtmlservercontrol and also specify theidattribute.Code-behind: