Adding <tr> from repeater's ItemDataBound Event
<p>My repeater's templates generate a table, where each item is a table row.<br>
When a very very specific condition is met (itemdata), I want to add an additional row to the table from this event.</p>

<p>How can I do that?  </p>

<pre><code>protected void rptData_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
   if (e.Item.ItemType == ListItemType.Item ||
         e.Item.ItemType == ListItemType.AlternatingItem)
   {

        bool tmp = bool.Parse(DataBinder.Eval(e.Item.DataItem, "somedata").ToString());
        if (!tmp &amp;&amp; e.Item.ItemIndex != 0)
        {
            //Add row after this item
        }

   }
}
</code></pre>

<p>I can use e.Item.Controls.Add() and add TableRow but for that I need to locate a table right?<br>
How can I solve that?</p>
