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();
        }
Beispiel #2
0
 private void PageInit()
 {
     WebPager.RecordCount = bll.GetCount();
     myGrid.DataSource    = bll.GetList(WebPager.CurrentPageIndex, WebPager.PageSize);
     myGrid.DataBind();
 }