
22/02/2002, 16:09
|
| | Fecha de Ingreso: febrero-2002
Mensajes: 184
Antigüedad: 23 años, 2 meses Puntos: 0 | |
Re: Paginar Segunda y última parte:
<% if cantidad_registros=3 and proxima_pagina=1 and numero_pagina<>0 then %>
<table>
<tr>
<td>
<form name="paginacion" method="post" action="http://enrique/default.asp" >
<input type="submit" value="<<anterior">
<input type="hidden" name="pagina" value="<% response.write(numero_pagina - 1)%>">
</form>
<td>
<form name="paginacion" method="post" action="http://enrique/default.asp" >
<input type="submit" value="siguiente>>">
<input type="hidden" name="pagina" value="<% response.write(numero_pagina + 1)%>">
</form>
</tr>
</table>
<% end if %>
<% if proxima_pagina=0 and numero_pagina<>0 then %>
<form name="paginacion" method="post" action="http://enrique/default.asp" >
<input type="submit" value="<<anterior">
<input type="hidden" name="pagina" value="<% response.write(numero_pagina - 1)%>">
</form>
<% end if %>
<% rs.movefirst%>
</body>
</html>
Espero que te sirva. Cualquier problemita mandá un mensaje ;)
Enrique2 :) |