Esempio n. 1
0
        private void PageInit()
        {
            UserInfo uinfo = Session["cudoUser"] as UserInfo;

            WebPager.RecordCount = bll.GetCount(uinfo.Id);
            rpt_list.DataSource  = bll.GetList(WebPager.CurrentPageIndex, WebPager.PageSize, uinfo.Id);
            rpt_list.DataBind();
        }
Esempio n. 2
0
 private void PageInit()
 {
     WebPager.RecordCount = bll.GetCount();
     myGrid.DataSource    = bll.GetList(WebPager.CurrentPageIndex, WebPager.PageSize);
     myGrid.DataBind();
 }