title: How to access unbounded Item in DataList
body: <p>I'm using a <code>DataList</code>. The <code>ItemTemplate</code> is bounded. I add a <code>HeaderTemplate</code>, and put it inside a table, which will be needed to contain dynamic lables which I add in each FormLoad. I don't want the header to be bounded.</p>
  
  <p>I'm trying to access this table , but it shows me that this table doesn't exist or can't be accessible.</p>
  
  <pre><code>if (this.TableCategories.Rows.Count == 0 || 
      this.TableCategories.Rows[this.TableCategories.Rows.Count - 1].Cells.Count == 5)
  {
      TableRow newRow = new TableRow();
      this.TableCategories.Rows.Add(newRow);
  }
  
  
  &lt;asp:DataList ID="DataListProducts" runat="server" RepeatDirection="Horizontal" 
    OnItemCommand="DataListProducts_ItemCommand" Height="200px" Width="100%" 
    BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" 
    CellPadding="0" GridLines="Vertical" RepeatColumns="6"&gt;
  
      &lt;HeaderTemplate&gt;
          &lt;asp:Table ID="TableCategories" runat="server" BorderColor="Black"  
            CssClass="floatRight" BorderStyle="Inset" BorderWidth="2px" GridLines="Both"&gt;
          &lt;/asp:Table&gt;
      &lt;/HeaderTemplate&gt;
  </code></pre>
  
  <p>Thanks</p>