易截截图软件、单文件、免安装、纯绿色、仅160KB

我想问下,在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>&nbsp;"
Else
Response.Write(" <span disabled>【 </span> <a href=" & LinkFile & "&page="&blockPage-10&">←前10页 </a>&nbsp;")
End If
  i=1
  Do Until i > 10 or blockPage > n
    If blockPage=int(gopage) Then
Response.Write(" <font color=#FF0000>[ <b>"&bloc


相关问答:

asp中用javascript动态改变Image的src的路径问题

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

asp事务问题

<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=") ......

ASP多表查询,一对多

我要查询两张表的数据,一张表一条数据对应另一张表的多条数据,SQL数据库
表1:                表2:
id  name ...          ctrI ......

假前最后一帖ASP调用VB组件

我用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伪静态的另类问题

由于对页面使用了伪静态
并且对ID进行了加密。
主要代码如下:
httpd.ini
RewriteRule /List-([0-9,a-z]*).html /List.asp\?ComId=$1 [N,I]

程序代码
A为加密,B为解密函数
<a href=&q ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号