打印本文 打印本文 关闭窗口 关闭窗口
ASP.NET分页组件学与用——教学篇(源代码)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数3353  更新时间:2009/4/23 10:41:52  文章录入:mintao  责任编辑:mintao
p;                "                     url = url.substring(0,index);\n" +

                                                "                 }\n" +

                                                "                 location.href = url + ''''?currentPage='''' + ctrl.value;\n" +

           

                                                "             }\n" +

                                                "                 else\n" +

                                                "               {\n" +

                                                "               alert(''''您输入的页码必须是符合页面要求的数字,最大值是:'''' + max);\n" +

                                                "               return false;\n" +

                                                "               }\n" +

                                                "               }\n" +

                                                "</script>\n";

 

 

        [DefaultValue(10),Category("Customer")]

        public int Count

        {

            set

            {

                if(value <= 0)

                    _count = 1;

                else

                    _count = value;

            }

            get

            {

                return _count;

            }

        }

 

        [DefaultValue(1),Category("Customer")]

        public int CurrentPage

        {

            set

            {

                if(value < 0)

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口