What I have currently is the below which works fine but now it shows my records in a long list, what i want to do is show three(3) records per row. I tried putting a for loop over the tags but it doesnt work it just displays duplicate of each record three(3) time.
@foreach (var ClientItem in Model.Clients)
{
<tr>
<td>
<div id="dataListItem" >
@Html.Hidden("ClientID", ClientItem.ClientID)
@Html.Label(ClientItem.ClientName)
<input type='checkbox' name="ClientItemCheckBox" id="ClientItemCheckBox" style="color: #428bca;" />
</div>
</td>
</tr>
}
please help I've ran out of ideas, I've also tried archive that was asked before
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…