title: Logic inside table. for each loop for formatting
body: <p>Is there a way I could limit the tds to 4 or any number in the following set up ..please see code below. Right now, its displaying all model items in one single row (as it should according to the code). If the items are a dozen, they are all displayed one single row.. I would like a way to display this four in each row instead of all in one row... (am I talking about table inside a table?) can this be done?</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr&gt;
         @foreach (var item in Model)
         {
              &lt;td&gt;     
                   @Html.DisplayFor(modelItem =&gt; item.fld1)
                   @Html.DisplayFor(modelItem =&gt; item.fld2)                       
              &lt;/td&gt;      
         }
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>