// 判断总页数 
        public int ShowPageCount()
        {
            string sql = "select count(*) from Notice";
            int i = Convert.ToInt32(gxc.dbExecuteSql4(sql));
            if (i % 10 == 0)
            {
                i = i / 10;
            }
            else
            {
                i = i / 10 + 1;
            }
            return i;
        }
posted on 2007-09-03 11:48  超少  阅读(192)  评论(1编辑  收藏  举报