摘要:
有时候需要在其它的方法中遍历数据控件中的项:foreach (RepeaterItem item in this.rptList.Items) { if (item.ItemType == ListItemType.Item || item.ItemType == ListItemType.AlternatingItem)//Repeater控件中的类型==指定列表控件中的类型 { HtmlInputCheckBox cb = item.FindControl("cb") as HtmlInputCheckBox; if (cb != null && cb. 阅读全文
posted @ 2011-04-14 15:42
流失的痕迹
阅读(992)
评论(0)
推荐(0)

浙公网安备 33010602011771号