Recursivity with panels in ASP.NET
<p>I have a database with a table called "categories". The table has 3 columns: 
1. ID
2. Name
3. ParentID. </p>

<pre><code>id | Name    |ParentID
_____________________
1  | John    | 0
2  | Charlie | 1
3  | Vasily  | 1
4  | David   | 2
5  | Edward  | 3
</code></pre>

<p>So John is the parent for Charlie and Vasily,  David is the child of Charlie and Edward is the child of Vasily.
The question is:
How can i create and populate some panels for each category, considering that the child panels must be inside their parent panels? The question is allmost the same as <a href="http://stackoverflow.com/questions/2572721/recursive-treeview-in-asp-net">this one here</a> however i realy realy need it to be with panels instead of treeview.
Thank You.</p>
