title: How to create HTML output without a) databinding or b) using Response.Write?
body: <p>Kind of related to my <a href="https://stackoverflow.com/questions/405480/best-practices-when-applying-conditional-formatting-in-data-bound-controls">other question</a> - I've only ever used HTMLControls with runat="server" and WebControls grudgingly, preferring to have control over the markup that gets generated (including the ids of the elements, etc.).</p>
  
  <p>What's your suggestion for, say, iterating over the contents of a collection and generating a table or list without resorting to databinding or using Response.Write in a loop from the code-behind? I'm interested in the different approaches for creating clean, maintainable code.</p>