The anchor is" Top ", Which can be placed anywhere on the page, generally the top.ProgramThe red part is the key, that is, the judgment on the appearance of the anchor. The value I set is 4 Appears 4 Dynamic Data contains one anchor, less 4 Because it is still on the same page, there is no need for an anchor to appear. This value can be modified according to the actual situation. To beautify the page, you can replace the text of the anchor with a graph. Top Replace .
<A name = "TOP"> </a>
...... (Content omitted)
<%
While (repeat2 _ numrows <> 0) and (not RSP. EOF ))
%>
...... (Content omitted)
<%
Repeat2 _ Index = repeat2 _ index + 1
Repeat2 _ numrows = repeat2 _ numRows-1
If repeat2 _ numrows <4Then
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
%>