Introduction:
I will explain about How to dynamically add controls to PlaceHolder control at run time
in asp.net.
Explanation:
I am going to create dynamic textbox controls to placeholder with
using PlaceHolder.Controls.Add method.
1.First create placeholder control to source code.
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
2.Create c# code for creating controls dynamically to place holder.
I will explain about How to dynamically add controls to PlaceHolder control at run time
in asp.net.
Explanation:
I am going to create dynamic textbox controls to placeholder with
using PlaceHolder.Controls.Add method.
1.First create placeholder control to source code.
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
2.Create c# code for creating controls dynamically to place holder.