////循环添加label for (int i = 0; i < 10; i++) { Label l = new Label(); l.ID = "lbl" + i; l.Text = "</br>" + "<a href='" + URL + "' target='_blank' >" + fn + "</a>" + "大小" + file_KB + "上传文件成功";//label属性texbox的值 this.Controls.Add(l); }
////循环添加label for (int i = 0; i < 10; i++) { Label l = new Label(); l.ID = "lbl" + i; l.Text = "</br>" + "<a href='" + URL + "' target='_blank' >" + fn + "</a>" + "大小" + file_KB + "上传文件成功";//label属性texbox的值 this.Controls.Add(l); }