关于asp问题

[复制链接]
查看11 | 回复4 | 2010-6-3 19:19:18 | 显示全部楼层 |阅读模式
代码如下:
if currentPage=1 then

showContent

showpage strFileName,totalput,MaxPerPage,true,false,"条信息"

else

if (currentPage-1)*MaxPerPage<totalPut then

rs.move(currentPage-1)*MaxPerPage

dim bookmark

bookmark=rs.bookmark

showContent

showpage strFileName,totalput,MaxPerPage,true,false,"条信息"

else

currentPage=1

showContent

showpage strFileName,totalput,MaxPerPage,true,false,"条信息"

end if

end if
end if
其中showContent、showpage什么意思?
解释明白我会追加分数!

回复

使用道具 举报

千问 | 2010-6-3 19:19:18 | 显示全部楼层
showContent、showpage 是定义过的无参数函数或者子程序。你仔细查询一下完整的源代码或者它的包含文件查找包含以下内容的部分sub showContentsub showpagefunction showContentfunction showpage然后一直往下看,直到end sub或者end function。这之间的代码就是showContent或showpage的功能。
回复

使用道具 举报

千问 | 2010-6-3 19:19:18 | 显示全部楼层
sub showContentend sub里面是展示内容Function showpageEnd Function里面放分页内容都是调用函数!
回复

使用道具 举报

千问 | 2010-6-3 19:19:18 | 显示全部楼层
showContent、showpage都是自定义的函数,showContent这个是显示内容的,showpage这个显示分页.
回复

使用道具 举报

千问 | 2010-6-3 19:19:18 | 显示全部楼层
应该是自定义函数
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行