<asp:Label id="xx" runat="server"/>
CS:
private void Page_Load(Object sender, EventArgs e)
{
for(int i=1;i<3;i++)
{
Label xx=new Label();
xx.Text="ljf-";
Page.Controls.Add(xx);
}
if(!IsPostBack)
{
<asp:Label id="xx" runat="server"/>
CS:
private void Page_Load(Object sender, EventArgs e)
{
for(int i=1;i<3;i++)
{
Label xx=new Label();
xx.Text="ljf-";
Page.Controls.Add(xx);
}
if(!IsPostBack)
{