Author: donkeystalk | Posted on: 1/16/2010 8:50:54 PM | Views : 303

Probably a simple question, but been bothering me for about an hour now.  Here is the code



<table>
<% foreach (var item in Model) { %>
<tr>
<td>
Testing
</td>
<% } %>
</tr>
</table>

I am trying to output the data in item next to each other in their own row. But, it is putting them underneath each other, like there is an implied </tr> after each
run of the loop. How can I avoid this? Thanks in advance! ...

Go to the complete details ...