Pagination | function | Recordset Description:
This function is a page for the article, not a recordset paging
This function implements pagination of the article and displays each page with a specified length
This function implementation does not need to specify a URL, automatic replacement URL
This function implementation returns multiple results, for: page links-Article statistics-article content, implemented by the dictionary
If the paging size is greater than the total size of the article, the paging link will be empty.
Note: Three elements that display content are free to change position.
Note:
If you are looking for a recordset paging function, I also wrote a previous one, called "ASP VBScript paging function by STABX, Third edition".
Link:
Shawl.qiu
2006-09-04
Main content: Paging function and calling code
LineNum
<%
Dim rs, DiC
Set Rs=createobject ("Adodb.recordset")
Rs.Open "SELECT * from Ctat where aid=15783", Conn
' Rs.Open ' select * from Ctat where aid=12850, conn
Set Dic=fatpgnt (RS ("content"), 50000,request.querystring ("Apid")
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.