浅析ASP中的Debug类--VBScript(3)_ASP教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

推荐:解读ASP网站Server object error的方法
症状: 访问asp网页的时候出现如下错误: Server object error ''ASP 0178 : 80070005'' Server.CreateObject Access Error /_fpclass/fpdbrgn1.inc, line 99 The call to Server.C

Next
End If
Next

tbl = MakeTable(tbl)
if Request.Cookies.count <= 0 then DivSetNo = 2
tmp = replace(replace(replace(DivSets(DivSetNo),"#sectname#","COOKIES"),"#title#","COOKIES"),"#data#",tbl)
Response.Write replace(tmp,"|", vbcrlf)
end sub

'******************************************************************************************************************
'* PrintSummaryInfo
'******************************************************************************************************************
Private Sub PrintSummaryInfo(byval DivSetNo)
dim tmp, tbl
tbl = AddRow(tbl, "Time of Request",dbg_RequestTime)
tbl = AddRow(tbl, "Elapsed Time",DateDiff("s", dbg_RequestTime, dbg_FinishTime) & " seconds")
tbl = AddRow(tbl, "Request Type",Request.ServerVariables("REQUEST_METHOD"))
tbl = AddRow(tbl, "Status Code",Response.Status)
tbl = AddRow(tbl, "Script Engine",ScriptEngine & " " & ScriptEngineMajorVersion & "." & ScriptEngineMinorVersion & "." & ScriptEngineBuildVersion)
tbl = MakeTable(tbl)
tmp = replace(replace(replace(DivSets(DivSetNo),"#sectname#","SUMMARY"),"#title#",&quo

分享:如何使ASP跳出本次进入下一次循环
看下面的Java代码,目的是为了当i是3的时候,就不做输出,直接跳到下一个循环。 以下为引用的内容: int i = 0; w

共3页上一页123下一页
来源:模板无忧//所属分类:ASP教程/更新时间:2009-08-17
相关ASP教程