Ice725
Sep 10th, 2004, 02:08 PM
I'd like to loop though and display a given amount of images
<table>
<tr>
<%
dim x as integer
for x = 1 to 5
%>
<td><asp:Image ImageUrl='readrealimage.aspx?id=1' Width="84" Height="105" Runat=server />
</td>
<%
next
%>
</tr>
</table>
But instead of my id variable in the URL being 1, I need it to be the value of x from my loop?
Can someone help me out?
<table>
<tr>
<%
dim x as integer
for x = 1 to 5
%>
<td><asp:Image ImageUrl='readrealimage.aspx?id=1' Width="84" Height="105" Runat=server />
</td>
<%
next
%>
</tr>
</table>
But instead of my id variable in the URL being 1, I need it to be the value of x from my loop?
Can someone help me out?