コード例 #1
0
        void pageByChange( )
        {
            if (userControl11.pageIndex <= 1)
            {
                tableQuery = _bll.getDataTableByChange(strWhere, 0, userControl11.pageSize);
            }
            else
            {
                tableQuery = _bll.getDataTableByChange(strWhere, userControl11.pageSize * (userControl11.pageIndex - 1) + 1, userControl11.pageSize * (userControl11.pageIndex - 1) + userControl11.pageSize);
            }

            gridControl1.DataSource = tableQuery;
        }