文章出自:合力绿帆 发布时间:2010-10-21
<%
sql="select top 11 * from news where a='13' and ok=true order by pai desc"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,Conn,1,3
%>
<%do while not rs.eof%>
<%rs.movenext
loop
rs.close %>
上一篇: 网站asp程序有分页的写法