anchor is" top< Span Times New Roman '; Mso-hansi-font-family: ' Times Roman ' ">" can be placed anywhere on the page, usually the top of the page. The red part of the program is the key, is the anchor point of the judge, I set the value is 4 , meaning that appears 4 Dynamic Data shows an anchor point less than 4 Since the same page, there is no need for anchor points to appear, This value can be modified according to the actual situation. In order to beautify the page, you can replace the text of the anchor point with a graphic to top
<a name= "Top" ></a>
...... ( specific content omitted )
<%
while (repeat2__numrows <> 0) and (not RSP. EOF))
%>
...... ( specific content omitted )
<%
Repeat2__index=repeat2__index+1
Repeat2__numrows=repeat2__numrows-1
If Repeat2__numrows < 4 then
Response.Write ("<table width=400 border=0 cellpadding=0 cellspacing=1><tr><td align=right><a href= #top >top</a></td></tr></table> ")
Else
Response.Write ("<table width=400 border=0 cellpadding=0 cellspacing=1><tr><td align=right>a</ Td></tr></table> ")
End If
Rsp. MoveNext ()
Wend
%>