M
Manoj Mittal
I have created the Dynamic control in asp.net c#
like
for (int i = 1; i <= 5; i++)
{
Label label = new Label();
label.ID = "Label" + i;
label.Text = "Label"+i;
form1.Controls.Add(label);
}
problem is how to get label1or label2 etc control outside this
function..it is accessiable outside this..plz help me in solving this
problem
like
for (int i = 1; i <= 5; i++)
{
Label label = new Label();
label.ID = "Label" + i;
label.Text = "Label"+i;
form1.Controls.Add(label);
}
problem is how to get label1or label2 etc control outside this
function..it is accessiable outside this..plz help me in solving this
problem