<%
'The parameters of receiving paging are processed, and the number of pages displayed is the default first page.
'page parameter is to let the variable pagenum display the first value: 0
ifRequest("page")=""then
pageNum=0
'The following is the page parameters
else
pageNum=Request("page")
ifnotisnumeric(pageNum)then
CallDH.Alert("Error!","-1")
else
pageNum=clng(pageNum)
endif
endif%>
<%
'This is the key to assign your content fields to ConTentStr
ConTentStr=Replace((rs("dhsl_Content")),"|||","||||")
%>
<%
'Use function splist to retrieve segments and save them into ConTentStr
ConTentStr=split(ConTentStr,"|||")
'The following is the page variable obtained by url
fori=pageNumtopageNum
%>
'Then display the content
<%=ConTentStr(i)%>
<%Next%>
This article is divided into:
<%
forp=0toubund(ConTentStr)
%>
<ahref="Content Page Name.asp?Passed Parameters = <%=Request("Accepted Parameters")%>&page=<%=p%>"class="text"><%=p+1%></a>
<%next%> page