最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp分页函数
时间:2008-08-01 编辑:简简单单 来源:一聚教程网
'***********************************************
'过程名:showpage
'作 用:显示“上一页 下一页”等信息
'参 数:sfilename ----链接地址
' totalnumber ----总数量
' maxperpage ----每页数量
' ShowTotal ----是否显示总数量
' ShowAllPages ---是否用下拉列表显示所有页面以供跳转。有某些页面不能使用,否则会出现JS错误。
' strUnit ----计数单位
'***********************************************
sub showpage(sfilename,totalnumber,maxperpage,ShowTotal,ShowAllPages,strUnit)
dim n, i,strTemp,strUrl
if totalnumber mod maxperpage=0 then
n= totalnumber \ maxperpage
else
n= totalnumber \ maxperpage+1
end if
strTemp= "
response.write strTemp
end sub
-
上一个: asp检测email 的合法性程序
-
下一个: asp把html转换成html编码
相关文章
- ASP内容分页函数 10-30
- asp文章通用分页函数 05-12
- asp分页函数[推荐] 04-22
- asp分页函数 03-22
- VBS 批量Ping的项目讲解 09-19
- 如何封装一个Ajax函数介绍 09-16