分页可能是代码有误 请高手帮忙下!谢谢了
if jishu mod 1 =0 then rstr=rstr & "</tr>"
jishu=jishu+1
rs.movenext
iItem = iItem - 1
Loop
jishu=jishu-1
if jishu mod 1 <> 0 then
for i= 1 to 1-(jishu mod 1)
rstr=rstr & "<td width='10%'> </td>"
if i = 1-(jishu mod 1) then rstr=rstr & "</tr>"
next
end if
strPage = "<div class='pagination'> <li class='disablepage'>共" & rs.pageCount & "</strong>页</li>"
strPage = strPage & " <li class='disablepage'>当前第<strong>" & Page & "</strong>页</li>"
if Rs.PageCount > 1 then
isslh=false
for iWooo = 1 to rs.pageCount
if iWooo = page then
strPage = strPage & " <li class='currentpage'>" & iWooo & "</li>"
else
if iWooo>8 || iWooo<rs.pageCount-8 then
if iWooo = 1 then
strPage = strPage & " <li><a href='10"&classid&".htm'>" & iWooo & "</a></li>"
else
strPage = strPage & " <li><a href='10"&classid&"_" & iWooo & ".htm'>" & iWooo & "</a></li>"
end if
else
if isslh then strPage = strPage & "..."
end if
end if
next
end if