Repeater 里面寻找Repeater
protected void Repeaterproduct_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { DataRowView row = e.Item.DataItem as DataRowView; int pid = int.Parse(row["Id"].ToString()); DataSet ds = bllitem.GetList("Pid=" + pid); Repeater re = e.Item.FindControl("Repeateritem") as Repeater; re.DataSource = ds.Tables[0]; re.DataBind(); } }