private void PageInit()
        {
            ShopName = new ShopsBLL().GetShopNameById(ShopId);

            WebPager.RecordCount = bll.GetCountByShopId(ShopId, 0);
            myGrid.DataSource    = bll.GetShopCommentsByShopId(WebPager.CurrentPageIndex, WebPager.PageSize, ShopId, 0);
            myGrid.DataBind();
        }
 private void ShopCommentInit()
 {
     WebPager.RecordCount = bll.GetCountByShopId(shopid);
     rpt_list.DataSource  = bll.GetShopCommentsByShopId(WebPager.CurrentPageIndex, WebPager.PageSize, shopid);
     rpt_list.DataBind();
 }
Example #3
0
        public List <ShopComment> getShopComment(int shopId)
        {
            ShopCommentBLL bll = new ShopCommentBLL();

            return(bll.GetShopCommentsByShopId(1, 100, shopId));
        }