protected void showCount() { LearnSite.BLL.Works bll = new LearnSite.BLL.Works(); sbcount = bll.GetSbCount(); if (sbcount > 0) { int Pcount = sbcount / 12 + 1; LabelCount.Text = Pcount.ToString(); int cpage = 1; LabelCurrent.Text = cpage.ToString(); showProject(cpage); } }
protected void showCount() { LearnSite.BLL.Works bll = new LearnSite.BLL.Works(); sbcount = bll.GetSbCount(cid); AspNetPagerPic.RecordCount = sbcount; }