我想问下,在asp中这段函数什么意思
Function listPages(LinkFile)
if not (rs.eof and rs.bof) then
gopage=currentpage
totalpage=n
blockPage=Int((gopage-1)/10)*10+1
If LCase(Request.ServerVariables("HTTPS")) = "off" Then
strTemp = "http://"
Else
strTemp = "https://"
End If
strTemp = strTemp & CheckStr(Request.ServerVariables("SERVER_NAME"))
If Request.ServerVariables("SERVER_PORT") <> 80 Then strTemp = strTemp & ":" & CheckStr(Request.ServerVariables("SERVER_PORT"))
strTemp = strTemp & CheckStr(Request.ServerVariables("URL"))
lenstrTemp=len(strTemp)+1
if instr(left(linkfile,lenstrTemp),"?")>0 then
if blockPage = 1 Then
Response.Write " <span disabled>【←前10页 </span> "
Else
Response.Write(" <span disabled>【 </span> <a href=" & LinkFile & "&page="&blockPage-10&">←前10页 </a> ")
End If
i=1
Do Until i > 10 or blockPage > n
If blockPage=int(gopage) Then
Response.Write(" <font color=#FF0000>[ <b>"&bloc
相关问答:
IE 遨游 无法显示验证码
FF 可以正常显示
解决方案:(无效)
一、修改注册表,显示xbm格式的验证码
新建2k3.txt文件,复制下列代码并保存。
Windows Registry Editor Version 5.00
[HKEY_LOC ......
rt
一般来说还是学习后者好 但是主要看你的就业方向是哪个
哥哥,
都啥年代了
发展历程:asp -> asp.net -> asp.net ajax -> asp.net mvc ->wpf
你还学asp,那是2000年以前的技术。 ......
我要查询两张表的数据,一张表一条数据对应另一张表的多条数据,SQL数据库
表1: 表2:
id name ... ctrI ......
我用VB按MVC的构架写组件供ASP调用
BLL层
VB code:
Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub
ASP中调用
VB c ......
我的意思是asp中如何单击某按钮 就继续执行下一段代码
在网页里,先执行一段代码,遇到单击某按钮时就,继续往下执行后面的代码~
asp是服务器端代码,是由请求触发的。
要么就分成2个asp文件, ......