private void RptBind() { BLL.wx_qp_img imgBll = new BLL.wx_qp_img(); BLL.wx_qp_base baseBll = new BLL.wx_qp_base(); BLL.wx_qp_film filmBll = new BLL.wx_qp_film(); //得到抢票活动相关信息 IList <Model.wx_qp_base> qblist = baseBll.GetModelList("wid=" + wid + " and id=" + aid); if (qblist == null || qblist.Count <= 0) { return; } Model.wx_qp_base qpBase = qblist[0]; litFilmhb.Text = "<img src=\"" + qpBase.haibaoPic + "\">"; actName = qpBase.bName; litJies.Text = "<span>" + qpBase.yyRemark + "</span>"; //得到所有热映电影 DataSet ds = filmBll.GetList("bid=" + aid + " order by sort_id asc,id desc"); this.rptList.DataSource = ds; this.rptList.DataBind(); //得到所有影院图片 DataSet imgDs = imgBll.GetList(4, "bId=" + aid + " and iType=2 ", "id desc"); this.rptImg.DataSource = imgDs; this.rptImg.DataBind(); }