请问怎么把这些表合成一个?

duxingxue 2004-03-31 05:37:26
代码如下:
<HTML>
<HEAD>
<TITLE> </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
</HEAD>
<BODY>
<%
for i=1 to 5
set sxml=server.CreateObject("Microsoft.XMLHTTP")
if i=1 then
url="http://www.hnpi.net/hnyyjg/ypjggs/index.asp"
else
url="http://www.hnpi.net/hnyyjg/ypjggs/index.asp?Direction=Next&job="
end if
sxml.Open "get",url,false
sxml.send
response.write GetBytes2BSTR(sxml.responsebody)
next

Function GetBytes2BSTR(p_sHtmlStr)
dim sReturnStr
dim i,n

sReturnStr = ""
n = LenB(p_sHtmlStr)

For i = 1 To n
dim sCharCode
dim sNextCharCode

sCharCode = AscB( MidB(p_sHtmlStr, i, 1) )

If (sCharCode < &H80) Then
sReturnStr = sReturnStr & Chr(sCharCode)
Else
sNextCharCode = AscB( MidB(p_sHtmlStr, i+1, 1) )
sReturnStr = sReturnStr & Chr(CLng(sCharCode) * &H100 + CInt(sNextCharCode))
i = i + 1
End If
Next

GetBytes2BSTR = sReturnStr
End Function

%>

</BODY>
</HTML>
大家在调试时如出现脚本超时,请把超本请求时间加大。

现在要求的功能为:把那些不用的代码在读出来时就替换掉,只留下那些表,并且把读出来的表合成一个,以便一下子复制到EXCEL表中。!

谢谢!
...全文
29 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
cjf1009 2004-03-31
  • 打赏
  • 举报
回复
mark
qunluo 2004-03-31
  • 打赏
  • 举报
回复
晕!!顶!

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧