标题:哪位大哥能帮我这个菜鸟解释一下这个THANKS
取消只看楼主
huye1985
Rank: 1
等 级:新手上路
帖 子:54
专家分:0
注 册:2008-3-3
 问题点数:0 回复次数:1 
哪位大哥能帮我这个菜鸟解释一下这个THANKS
<%
              SQL="Select * from product where pro_name='product'"
              Set rs=Server.CreateObject("ADODB.RecordSet")
            rs.Open SQL,con,1,1
            rs.PageSize=12
            count=1
            if Request("count")<>"" then
            count=Cint(Request("count"))
                if count<1 then
                    count=1
                end if
                if count>rs.PageCount then
                    count=rs.PageCount
                end if
            end if
            if not rs.Bof and not rs.Eof then
                  rs.ABSolutePage=count
              end if
            pagecountx=rs.pagecount
            for i=0 to 2
                if i*4>=rs.RecordCount-((count-1)*rs.PageSize) then
                    exit for
                end if    
          %>
搜索更多相关主题的帖子: count SQL THANKS 
2008-03-12 10:40
huye1985
Rank: 1
等 级:新手上路
帖 子:54
专家分:0
注 册:2008-3-3
得分:0 
回复 2# 的帖子
太感谢版主了
2008-03-14 10:00



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-203015-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.640927 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved