come prima cosa, grazie per l'aiuto.. adesso, che ho risolto grazie ai vostri aiuti il mio primo problema..sorge il dilemma della paginazione: ho provato a fare delle ricerche e cercato di utilizzare i consigli segnalati, ma il sito oscarjsweb.com..non funziona.. e la seziona ASP del sito di Roby72 dove c'e' (almeno credo) un esempio interessante di paginazione..non funziona
questo è il mio codice... come potrei cerare una paginazione??

grazie...ho provato tutta la mattina...ma nessun risultato confortante!


<table width="570" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
<%
dim conn
set conn=server.createobject("adodb.connection")
conn.open "Driver={Microsoft Access Driver (*.mdb)}; dbq=" & server.mappath("../mdb-database/eventi.mdb")
%>
<tr>
<td></td>
</tr>
<tr>
<td><table width="570" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="30"></td>
<td width="195" class="fortext">Evento</td>
<td width="175" class="fortext">Localit&agrave;</td>
<td width="80" class="fortext">data inizio</td>
<td width="80" class="fortext">data fine</td>
</tr>
<tr>
<% datet = year(date()) & "/" & month (date()) & "/" & day(date())
Set RSeventi = Server.CreateObject("ADODB.Recordset")
SQLQUERY ="Select TOP 10 data_fine, data_inizio, titolo,luogo, tipo, id from eventi where (((eventi.data_fine)>=#"&datet&"#)) order by data_inizio asc, ora_inizio"
RSeventi.open SQLQuery,conn
if rseventi.eof then %>
<td colspan="5"><div align="center"> Nessun
Evento trovato
</div></td>
</tr>
<% else do until rseventi.eof
if colore = "#EEEEEE" then
colore = "#FFFFFF"
else
colore = "#EEEEEE"
end if%>
<tr bgcolor="<%=colore%>" class="fortext">
<td width="30" height="25"> <div align="left">[img]../image/small/<% = RSeventi([/img].gif" align="absmiddle" border="0"></div></td>
<td width="195" height="25" class="fortext">&tabella=eventi&dettagli=1" class="lnk"><%=Left((Rseventi("titolo")),30)%>..</td>
<td width="175" height="25" class="fortext"><%=Left((Rseventi("luogo")),25)%>. .</td>
<td width="80" height="25" class="fortext"><%=(rseventi("data_inizio"))%></td>
<td width="80" height="25" class="fortext"><% if (rseventi("data_inizio")) = (rseventi("data_fine")) then %> <% else %> <%=(rseventi("data_fine"))%> <% end if %></td>
</tr>
<%
on error resume next
rseventi.movenext
loop
end if
%>
</table>