// 获取购买商品得到的积分 public void cartinfo_ItemDataBound(object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { Repeater rpColumnNews = (Repeater)e.Item.FindControl("Repeater1"); DataRowView rowv = (DataRowView)e.Item.DataItem; string proid = rowv["Bindpro"].ToString(); if (!string.IsNullOrEmpty(proid)) { DataTable ddinfos = proBll.Souchprolist(proid); rpColumnNews.DataSource = ddinfos.DefaultView; rpColumnNews.DataBind(); } } }