ASP.net Add Controls to HTML Form at Runtime

Add Controls at runtime to ASPX page. This code will allow you to add a control to your ASPX page at runtime. The key is to place a PlaceHolder control(s) on the form where you want to place the new controls. We called the placeholder PH1 for this example.