代码解读
请教各位高手,能否帮解读代码吗?PageCount=0
sql="select * from examhouse where subject like '"& subjectview &"' and type like '"& typeadd &"' and question like '%"& mykey &"%'"
set rs=conn.execute(sql)
while not rs.eof
PageCount=PageCount+1 (这里是统计总的页数吗?)
rs.movenext
wend
PageSize = 10
PageCount=(PageCount+PageSize-1)\PageSize
Page = CLng(Request("Page")) (代码表示什么意思呢?)
'分页显示
If not Page >1 Then Page = 1
If Page > PageCount Then Page = PageCount
i=page+(page-1)*9
rs.AbsolutePage = Page (代码表示什么意思呢?)