Ciao.

Perchè quest paginazione in mysql pur andando avanti con le pagine non scorre i records a
video?

codice:
function excess(argValue)
	if not (int(argValue) = argValue) then argValue = int(argValue)+1		
	excess = argValue
end function

if(len(Request.QueryString("page"))=0)then
  currentPage = 1
else
  currentPage = CInt(Request.QueryString("page"))
end if

pageSize = 2

strSQL = "SELECT * from tbl"

sql = "SELECT COUNT(*) AS CNT * from tbl""
set rs = cn.execute(sql)
recordCount = rs("CNT")

pageCount = excess(clng(recordCount) / clng(pageSize))

if not RS.eof then

'INIZIO INTESTAZIONI TABELLA
'FINE INTESTAZIONI TABELLA

For i = 1 to clng(pageSize)
if not RS.eof then

......

RS.movenext
end if
next

 
'Paginazione
Response.Write "Numero Pagine:"
For page = 1 to PageCount
  Response.Write "<A href='"&istring&"?page="&page
  Response.write "'>"
  Response.Write page
  Response.Write "</A> " 
Next