title: Generic function to create controls at runtime
body: <p>I want to add controls to my aspx web form at runtime using C#.<br>
  I would like to write a generic function which will create any type of control (Eg: textbox, lable, button etc). </p>
  
  <p>Any ideas please. 
  Thanks
  BB</p>