Need to generate ASP.NET controls from a database
<p>I am writing an application where the controls for a page need to be determined from data in a Sql Server table.</p>

<p>For example: I have a PropertyGroups with Properties(Join Table)
I then have categories to Propertygroups, the Properties have a values table, blah blah. Not to get too much in to the DB schema, but I need to assign controls to properties.</p>

<p>Like lets's say that property Color needs to be a listbox and the items collection is predetermined by the data in the database etc... </p>

<p>What is the most efficient way to render this before the page is loaded? A handler maybe?
I am using Master Pages as well.</p>
