移动下一个链接 [英] move next link
本文介绍了移动下一个链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都知道添加下一条记录链接的最简单的解决方案。
我有这个
展开 | 选择 | Wrap | 行号
解决方案
你好,
你的意思是你想在你的页面上做分页吗?
请参阅此链接链接
< blockquote class =post_quotes>
您好,任何人都知道添加下一条记录链接的最简单的解决方案。
我有这个
展开 | 选择 | Wrap | 行号
您好,感谢您提供了这个好的链接,我以后会为此做些什么。
我我不确定我需要的是什么。
我有一个用户可以选择的下拉列表,最多300页。
它们按字母顺序排序按名称。
我有点认为,如果每个页面尽管是从数据库中的b / b $ b动态生成的,但它有一个下一个链接,然后可以被
的访问者接下来会查看所有记录,而不是必须回到下拉列表。
问题是我不知道应该如何编写链接以便将访问者发送到下一个。
我的链接是这样的
展开 | 选择 | Wrap | 行号
您好,
我有一个建议,从数据库中获取当前页面上的下一页和prevoius页面的名称。
例如在page1.asp上你会写,
<%
Dim sql
Dim rs
Dim con
Dim pageName
Dim prevPage
Dim nextPage
pageName =" page1.asp"
sql ="从tablename中选择NextPage,PrevPage,其中projectname =
''"& pageName& "''
设置rs = con.execute(sql)
如果不是rs.eof则
prevPage = rs.Fields(" PrevPage")
nextPage = rs.Fields(" NextPage")
结束如果
% >
当前页面,即Page1.asp将包含2个链接转到上一页并转到下一页。
< a href =<%= prevPage%>>上一页< / a>
< a href =<%= nextPage%>>下一页< / a>
您好,感谢您提供了良好的链接,我将在以后需要其他内容。
我不确定我需要什么。
我有一个用户可以选择的下拉列表,最多300页。
它们按名称按字母顺序排序。
我有点认为,如果每个页面虽然是动态生成的,但数据库中有一个下一个页面,它会很好链接,然后访问者可以使用
接下来的所有记录,而不是必须回到下拉菜单。
问题是我不知道应该如何编写链接,以便将访问者发送到下一个。
我的链接是这样的
展开 | 选择 | Wrap | 行号< /跨度>
Hi, Anyone know the simplest solution to add a next record link.
I have this
Expand|Select|Wrap|Line Numbers解决方案Hi,
Do you mean that you want to do pagination on your page?
Please refer this link Link
Hi, Anyone know the simplest solution to add a next record link.
I have this
Expand|Select|Wrap|Line Numbers
Hi, Thanks for that good link, I will need that for something else later.
I am not sure what I need is called.
I have a dropdown list that the user can select from, up to 300 pages.
They are ordered alphabetically by name.
I was sort of thinking it would be good if each page, although dynamically produced from
the database, had a next link, that could then be used by the visitor to
go through all the records next, next, instead of having to go back to the dropdown.
The problem is I dont know how that link should be written so that it sends the visitor to the next.
The link I have is like this
Expand|Select|Wrap|Line Numbers
Hi,
I have one suggestion , get the names of next page and prevoius page on current page from database.
e.g on page1.asp you will write ,
<%
Dim sql
Dim rs
Dim con
Dim pageName
Dim prevPage
Dim nextPage
pageName = "page1.asp"
sql = "Select NextPage, PrevPage from tablename where projectname =
''"& pageName & "''
set rs= con.execute(sql)
If not rs.eof then
prevPage = rs.Fields("PrevPage")
nextPage = rs.Fields("NextPage")
end if
%>
your current page i.e. Page1.asp will contain 2 links going to previous page and going to the next page.
<a href = <%= prevPage%>>Previous</a>
<a href = <%= nextPage%>>Next</a>
Hi, Thanks for that good link, I will need that for something else later.
I am not sure what I need is called.
I have a dropdown list that the user can select from, up to 300 pages.
They are ordered alphabetically by name.
I was sort of thinking it would be good if each page, although dynamically produced from
the database, had a next link, that could then be used by the visitor to
go through all the records next, next, instead of having to go back to the dropdown.
The problem is I dont know how that link should be written so that it sends the visitor to the next.
The link I have is like this
Expand|Select|Wrap|Line Numbers
这篇关于移动下一个链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆