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 ...