title: Displaying hierarchical data from database in unordered list via Repeater control
body: <p>I have a database table with some Id, parentId and other data-related fields.<br>
  I want to display all this in nested <code>&lt;ul&gt;</code>s (n-levels of nesting) using repeater control.<br>
  (I don't want to use any other 3-rd party controls and also no treeviews...)      </p>
  
  <p>First, i read the data (once) from database into a collection (<code>List&lt;myObject&gt;</code>) on which I would like to manipulate to get the hierarchical structure.</p>
  
  <p>The problem is how to build repeater's template?<br>
  Repeater's template is static, so the only thing that i can prepare is the starting and ending <code>&lt;ul&gt;</code> and <code>&lt;/ul&gt;</code>.  </p>
  
  <p>How to be with nested uls? how to create them?</p>
  
  <p>Please suggest.</p>