How to use PageSize Properties
Use PageSize Properties
Set rs3 = Server.CreateObject("ADODB.Recordset")
sqlstr3 = "SELECT * FROM ANNTEXT ORDER BY anndate DESC"
rs3.open sqlstr3, conn, 1,3
rs3.pagesize = 5
for intrec = 1 to rs3.pagesize %>
<%="rs3(">'> <%=rs3("heading") %>
<%
rs3.movenext
next %>
No comments:
Post a Comment