dbName = "database/db_demo.mdb"
set Cn = Server.CreateObject("ADODB.Connection")
Cn.Open("driver={Microsoft Access Driver (*.mdb)};dbq=" + Server.MapPath(dbName))
Sql = "SELECT * FROM messaggi WHERE titolo <> '' ORDER BY modificato DESC"
set MostraMessaggi = Server.CreateObject("ADODB.Recordset")
MostraMessaggi.Open Sql,Cn,1
pag = CInt(Request.QueryString("id"))
if (isNumeric(pag) or pag < 1) then
pag = 1
end if
if ( NOT MostraMessaggi.EOF) then
MostraMessaggi.PageSize = 20
MostraMessaggi.AbsolutePage = pag
end if
potreste dirmi cosa fa questo if, ed in particolare cosa fanno
"PageSize" ed "AbsolutePage"

Rispondi quotando
