G
Guest
Hi,
Simple question, on normal HTML tags I can do the following
<% for (int i=0; i < Total; i++) {%>
<tr>
<td><%Response.Write (i); %></td>
</tr>
<%}%>
How can I do the same with aspnet tags? it complains when I do this
<% for (int i=0; i < Total; i++) {%>
<asp:TableRow>
<asp:TableCell><%Response.Write (i); %></asp:TableCell>
</asp:TableRow>
<%}%>
Any Ideas or workaround?
Simple question, on normal HTML tags I can do the following
<% for (int i=0; i < Total; i++) {%>
<tr>
<td><%Response.Write (i); %></td>
</tr>
<%}%>
How can I do the same with aspnet tags? it complains when I do this
<% for (int i=0; i < Total; i++) {%>
<asp:TableRow>
<asp:TableCell><%Response.Write (i); %></asp:TableCell>
</asp:TableRow>
<%}%>
Any Ideas or workaround?