ASP 上移下移问题
怎么让第一条数据没有上移,而最后一条没下移呢?<%
Dim sql
set rs=server.createobject("adodb.recordset")
sql="select * from 留言内容 order by sid"
rs.open sql,conn,1,1
if rs.eof and rs.bof Then
end If
do while not rs.eof
Response.Write ""&rs("sid")&" "&rs("名字")&""
Response.Write " <a href='2.asp?action=up&orderid="&rs("sid")&"'>上移</a>"
Response.Write " <a href='2.asp?action=down&orderid="&rs("sid")&"'>下移</a>"
Response.Write"<br>"
rs.movenext
Loop
rs.close
set rs=Nothing%>
没分了!