递归显示,如何分页!
<!-- #include file="conn.asp" -->
<%
dim ii
ii=0
sorta(19)
sub sorta(selec)
sql="Select * From ClassTree where followid="&selec&""
Set Rs1=Conn.Execute(sql)
do while not rs1.eof
if selec=0 then
%>
<%=rs1("ClassName")%><br />
<%
else
%>
<%=string(ii*2," ")%><%=rs1("ClassName")%><br />
<%
end if
ii=ii+1
sorta rs1("id")
ii=ii-1
rs1.movenext
loop
Set Rs1 = Nothing
end sub
%>