How do I organize my items in a table
so that my row has lets say 4 columns, in my
foreach(var item in Model.Data)
{
<td>item.name</td>
}
How do I have item.name[i], item.name[i+1] so that I can fill out my column for the row?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not clear on exactly what you’re asking or what version of MVC or View Engine, but the general pattern of a table displaying a collection of objects is