Bei einem ASP -Paging -Programm werden Sie manchmal Situationen begegnen, in denen Sie nicht paginieren können. Sie versuchen also, Rs.absolUTEPAGE auszudrucken, aber das Ergebnis ist immer -1.
Hier ist eine Lösung:
..... weggelassen
rs.cursorLocation = 3 'Es ist, diese Zeile hinzuzufügen
Rs.opensql, Conn, 3,2
Rs.PageSize = 10
ifnotrs.eofthen
rs.absolutepage = 1
Endif
pagecount = rs.pageSize
...... weggelassen
Artikel, die für Sie von Interesse sein können:
Javascript css styleFloat and cssFloat Javascript special writing method css float attribute css cross-browser implementation of Float (float) in float:centerCSS articles Special writing method of operating the float attribute of css under javascript css position: absolute, relative, detailed explanation of some research on Positoin, absolute, and Relative in CSS positioning relative absolute solves the level problem that kann nicht durch Div CSS absolute und relative Zusammenfassungsposition unterbrochen werden: relative/absolute Analyse des Ebenenattributs des CSS -Float -Attributs und der Position: Absolute