title: ASP.NET Repeater, Dynamically starting new table row
body: <p>I have the following repeater:</p>
  
  <pre><code>&lt;table&gt;
          &lt;asp:Repeater runat="server" ID="rptBrandRepeater"&gt;
              &lt;ItemTemplate&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;asp:HyperLink runat="server" ID="lnkCompanyLink"&gt;
                              &lt;asp:Image runat="server" ID="imgCompanyLogo" /&gt;
                          &lt;/asp:HyperLink&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:Repeater&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I want to start a new row every four table cells.</p>
  
  <p>I don't want to used jQuery or Javascript to accomplish this.</p>
  
  <p>The outputted html is supposed to look like this page:  <a href="http://rmtequipment.com/golfandturf.aspx" rel="nofollow">http://rmtequipment.com/golfandturf.aspx</a></p>
  
  <p>I have made an interface that will allow them to add these logos on their own.
  So this page will be dynamically built.</p>
  
  <p>What is the best way to accomplish this goal?</p>
  
  <p>If a listview or gridview is a better approach I am open to that as well.</p>
  
  <p>Thanks in advance.</p>