ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to create a html table with the column having placed in different places of the table. A table with 10 record having 15 td columns in different places. am looking for the help to bring this layout in my code. I have attached html layout
<table id = "empTable">
@{
foreach (var item in Model.builds) {
<tr>
<td>@item.Build1</td>
<td>@item.Build2</td>
<td>@item.Build3</td>
<td>@item.Build4</td>
</tr>
<tr>
<td>@item.Build5</td>
<td>@item.Build6</td>
<td>@item.Build7</td>
</tr>
<tr>
<td>@item.Build8</td>
<td>@item.Build9</td>
<td>@item.Build10</td>
</tr>
<tr>
<td>@item.Build11</td>
<td>@item.Build12</td>
<td>@item.Build13</td>
<td>@item.Build14</td>
</tr>
}
<table>
just use empty <td></td> for the cells you want empty