int x = Convert.ToInt32(random(0,20))+1 获得1-20的数字。
foreach (Control con in Page.Controls)
{
if (con.ID = "lable" + X)
{
(con as Label).Text = aaa;
}
}然后赋值上去。 你要几个就丢几个。。
int x = Convert.ToInt32(random(0,20))+1 获得1-20的数字。
foreach (Control con in Page.Controls)
{
if (con.ID = "lable" + X)
{
(con as Label).Text = aaa;
}
}然后赋值上去。 你要几个就丢几个。。
int x = Convert.ToInt32(random(0,20))+1 获得1-20的数字。
foreach (Control con in Page.Controls)
{
if (con.ID = "lable" + X)
{
(con as Label).Text = aaa;
}
}然后赋值上去。 你要几个就丢几个。。