user input number of records
hi, i need help with how to let user enter the pagesize in textbox, (with default = 10, on display when nothing is chosen).
my page already works with constant ipagesize=10, but i need it to be dynamic.
i tried using if-else statements with request.form, but it doesnt work. it says "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another." at line: "rs.PageSize = iPageSize"
code:
if isnull(pageform) then
iPageSize=10
session("page")=pageform
else
session("page")=pagestring
iPageSize=pagestring
end if
thanks
|