• 0
Sign in to follow this  
Cristiano123

botao para próximo registro

Question

5 answers to this question

Recommended Posts

  • 0

fiz isto mas não está dando...

<%

if tp="prev" then

rs.moveprevious

end if

if tp="next" then

rs.movenext

end if

response.write("<form method=post action='teste1.asp'>")

response.write("<input type=hidden name='tp' value='prev'>")

response.write("<input type=hidden name='cod' value='" & codigo & "'>")

response.write("<input type=hidden name='txtcat' value='" & request.form("txtcat") & "'>")

response.write("<input type=submit value='<< Anterior'>")

response.write("</form>")

response.write("<form method=post action='teste1.asp'>")

response.write("<input type=hidden name='tp' value='next'>")

response.write("<input type=hidden name='cod' value='" & codigo & "'>")

response.write("<input type=hidden name='txtcat' value='" & request.form("txtcat") & "'>")

response.write("<input type=submit value='Proximo >>'>")

response.write("</form>")

%>

Share this post


Link to post
Share on other sites
  • 0

é porque estou fazendo isto junto com um jquery com noticias slide. No jquery funciona as paginas mas quando acrecento o banco dentro aí não consigo mais ir para o proximo e anterior. como faço então.

faça uma busca sobre paginação.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this