asp paging

asp paging - pageno=0 disablesort =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
if request("pageno") = "" then pageno = 1 else pageno = request("pageno") end if showtop = 6* pageno starttop = 6 * (pageno-1) rs.CursorType = 3 rs.PageSize = 6 rs.open sql,cn 'if no record or advanced search then isable sorting if (pageno = 1 and rs.recordcount = 0) or (request("mode")="search2") then
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: pageno=0 disablesort = "yes" end if if rs.recordcount > 0 then rs.AbsolutePage = cint(pageno) rowcount = 0 else rs.open sql,cn,3,1 pageno=1 end if...
View Full Document

This note was uploaded on 05/02/2008 for the course MATH 101 taught by Professor Wormer during the Spring '08 term at UCSD.

Ask a homework question - tutors are online