ragazzi se vi posto il codice della mia paginetta mi scrivete il codice per una paginazione !!!
io sto diventando matto !!!
grazie 1000
<%@LANGUAGE = JScript%>
<!--#include file="config.inc"-->
<%
var Rs = Cn.Execute("SELECT * FROM upload ORDER BY id DESC");
%>
<html>
<head>
<title>Leggi i dati</title>
<style type="text/css">
td { font: Normal 12px Verdana; }
a { color: #0000FF; }
a:hover { color: #FF0000; }
</style>
</head>
<body>
<table align="center" width="770" cellpadding="1" cellspacing="0" border="1">
<tr>
<td colspan="7"><b> Leggi i dati delle offerte inserite su web ..::RADIANCEVIAGGI::..</b></td>
</tr>
<tr>
<td colspan="2"><div align="center"><strong><font color="#FF0000">Pannello</font></strong></div>
<div align="center"></div></td>
<td><div align="center"><strong><font color="#FF0000">Titolo offerta</font></strong></div></td>
<td><div align="center"><strong><font color="#FF0000">Categoria</font></strong></div></td>
<td><div align="center"><strong><font color="#FF0000">Data inserimento</font></strong></div></td>
<td><div align="center"><strong><font color="#FF0000">Codice</font></strong></div></td>
<td><div align="center"><strong><font color="#FF0000">On-Line</font></strong></div></td>
</tr>
<tr>
<%
if (Rs.EOF) Response.Write("<td colspan=\"4\">Nessun dato</td>");
else while (!Rs.EOF)
{
%>
<td width="5%"><strong><font face="Tahoma" size="1"><font face="Tahoma" size="1">
</font></font></strong><img src="img/EDIT.GIF" align="absmiddle"> <a href="modifica.asp?id=<%=Rs("id")%>">Mod.</a></td>
<td width="8%"><img src="img/CANCEL.GIF" align="absmiddle"> <a href="cancella.asp?id=<%=Rs("id")%>">Canc.</a></td>
<td width="35%"><div align="center"><%=Server.HTMLEncode(Rs("titolo"))%></div></td>
<td width="17%"><div align="center"><%=Server.HTMLEncode(Rs("categoria"))%></div></td>
<td width="17%"><div align="center"><%=Server.HTMLEncode(Rs("data"))%></div></td>
<td width="9%"><div align="center"><%=Server.HTMLEncode(Rs("codiceviaggio"))%></div></td>
<td width="9%"><div align="center"><%=Server.HTMLEncode(Rs("visibilita"))%></div></td>
</tr>
<%
Rs.Movenext();
}
%>
<tr>
<td colspan="7"><img src="img/nuovo.gif" align="absmiddle"> <a href="../upload/upload.asp">Inserisci</a></td>
</tr>
</table>
</html>
<%Cn.Close()%>