Re: Block codes on ASP.NET

Tech-Archive recommends: Speed Up your PC by fixing your registry



> Simple question, on normal HTML tags I can do the following

Well, this is a first for me. I've never known anyone to be able to do what
you've done "on normal HTML tags."

> Any Ideas or workaround?

Well, you're probably not going to like this one, but I would suggest
learning something about what you're doing, rather than just doing it. The
following is a link to the freely-downloadable .Net Framework 1.1 SDK, which
contains all kinds of articles, tutorials, and sample code that you can use
to teach yourself how to, and the best part is, it's free!

http://www.microsoft.com/downloads/details.aspx?familyid=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"Salvador" <Salvador@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E1374E14-A8FD-437F-A5A0-466655C1F279@xxxxxxxxxxxxxxxx
> 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?
>
>
>
> --
> Salvador Alvarez Patuel
> Exony Ltd - London, UK


.