title: Create a HTML table with an ASP repeater, repeating horizontally
body: <p>I'm trying to build a HTML table using an ASP repeater:</p>
  
  <pre><code>&lt;asp:Repeater ID="RepeaterVersionsForPie" runat="server"&gt;
      &lt;ItemTemplate&gt;
          &lt;table id="VersionsTable" &gt;
  
                  &lt;tr&gt;
                      &lt;th&gt;
                      &lt;%#Eval("nameVersion")%&gt;
                      &lt;/th&gt;
  
                  &lt;/tr&gt;
  
      &lt;/ItemTemplate&gt;
      &lt;ItemTemplate&gt;
          &lt;tbody&gt;
              &lt;tr&gt;
                  &lt;td tag="&lt;%#Eval("idVersion")%&gt;"&gt;
                      &lt;%#Eval("NumberOfCompaniesUsingThisVersion")%&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/tbody&gt;
      &lt;/ItemTemplate&gt;
      &lt;FooterTemplate&gt;
          &lt;/table&gt;
      &lt;/FooterTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>This is a basic table which consists in <strong>two lines and X columns</strong>.
  The second line appears without any problems while the first one is invisible.
  Can anyone help to find what's missing?
  Thanks in advance.</p>