<p>I would like to create (in code) tree of controls that would render as a table with several TBODY tags, i.e.:</p>

<p>
    
        
            
        
        
            
        
    </p>

<pre><code>&lt;TBODY&gt;
    &lt;TR&gt;
        &lt;TD&gt;&lt;/TD&gt;
    &lt;/TR&gt;
    &lt;TR&gt;
        &lt;TD&gt;&lt;/TD&gt;
    &lt;/TR&gt;
&lt;/TBODY&gt;
</code></pre>

<p></p>

<p>I tried both Table and HtmlTable controls but had no success. Any clues?</p>

How are you generating your data? You could use a templated control like a Repeater or ListView as that gives you full control of the HTML you're generating.
If you're wanting to create the controls purely in C# you can use the HtmlGenericControl (
http://msdn.microsoft.com/en-us/library/system.web.ui.htmlcontrols.htmlgenericcontrol.aspx
), you'll need to provide a tag type in the constructor.