Example #1
0
        protected void initList(string id)
        {
            Eyousoft_yhq.BLL.SendMsg      bll        = new Eyousoft_yhq.BLL.SendMsg();
            Eyousoft_yhq.Model.serSendMSG serchModel = new Eyousoft_yhq.Model.serSendMSG();
            serchModel.ProductID = id;
            pageIndex            = UtilsCommons.GetPagingIndex("Page");
            var list = bll.GetList(pageSize, pageIndex, ref recordCount, serchModel);

            if (list != null && list.Count > 0)
            {
                rpt_list.DataSource = list;
                rpt_list.DataBind();
                BindPage();
                litMsg.Visible = false;
            }
            else
            {
                rpt_list.Visible = false;
            }
        }