示例#1
0
        private void bindGrid(UCPaging ParamUCPaging, GridView ParamGridView, Panel ParamPanel)
        {
            pager_org.PageIndex = ParamUCPaging.CurrentPage;
            DataTable dt = CommonFun.GetDataByPagerQueryParam(pager_org);

            CommonFun.Paging(dt, ParamGridView, ParamUCPaging, ParamPanel);
            if (ParamPanel.Visible)
            {
                ParamUCPaging.Visible = false;
            }
            else
            {
                ParamUCPaging.Visible = true;
                ParamUCPaging.InitPageInfo();  //分页控件中要显示的控件
            }
        }
示例#2
0
        private void bindGrid()
        {
            pager.PageIndex = UCPaging.CurrentPage;
            DataTable dt = CommonFun.GetDataByPagerQueryParamWithPriKey(pager);

            CommonFun.Paging(dt, GridView1, UCPaging, NoDataPanel);
            if (NoDataPanel.Visible)
            {
                UCPaging.Visible = false;
            }
            else
            {
                UCPaging.Visible = true;
                UCPaging.InitPageInfo();  //分页控件中要显示的控件
            }
        }