{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

asp paging

asp paging - pageno=0 disablesort ="yes" end if if...

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online