Beispiel #1
0
        private void GetPageUserCount(string where)
        {
            int count = userInfobll.GetRecordCount(where);

            if (count > 0)
            {
                if (count % pagesize == 0)
                {
                    pagecount = count / pagesize;
                }
                else
                {
                    pagecount = count / pagesize + 1;
                }
            }
            labusercount.Text = pagecount.ToString();
            labuserindex.Text = pageindex.ToString();
        }