![ContractedBlock.gif](https://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif)
![ExpandedBlockStart.gif](https://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif)
String id = "";
for (int i = 0; i < str.Length;i++ )
{
st[i] = str[i].Split('|');
id = "Label" + st[i][3];
((Label)(this.Page.FindControl(id))).Text = "";
这段代码的意思是查找一个名字为 "Label" + st[i][3]的label的控件
((Label)(this.Page.FindControl(id))).Text = "";
这段代码的意思是查找一个名字为 "Label" + st[i][3]的label的控件
转载于:https://www.cnblogs.com/wsy6634/archive/2008/11/22/1339096.html