Ejemplo n.º 1
0
        void showInfo()
        {
            //专家点评
            BLL.wx_fc_zjComment zBll = new BLL.wx_fc_zjComment();
            this.rptReview.DataSource = zBll.GetList(string.Format(" wid={0} and fid={1}", wid, fid));
            this.rptReview.DataBind();

            //房友印象
            BLL.wx_fc_fyImpression fBll = new BLL.wx_fc_fyImpression();
            this.rptYin.DataSource = fBll.GetListGroupby(string.Format(" wid={0} and fid={1} ", wid, fid));
            this.rptYin.DataBind();
        }
Ejemplo n.º 2
0
        private void RptBind(string _strWhere, string _orderby)
        {
            Model.wx_userweixin weixin = GetWeiXinCode();
            _strWhere        = "wId=" + weixin.id + " " + _strWhere;
            _strWhere       += " and fid=" + fid;
            this.page        = MXRequest.GetQueryInt("page", 1);
            txtKeywords.Text = this.keywords;

            this.rptList.DataSource = bll.GetList(this.pageSize, page, _strWhere, _orderby, out totalCount);
            this.rptList.DataBind();

            //绑定页码
            txtPageNum.Text = this.pageSize.ToString();
            string pageUrl = Utils.CombUrlTxt("zjdpMgr.aspx", "keywords={0}&page={1}&id={2}", this.keywords, "__id__", this.fid.ToString());

            PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
        }