asp逐行读取txt,输出时每行加上超连接。
答案:1 悬赏:40
解决时间 2021-01-13 10:56
- 提问者网友:姑娘长的好罪过
- 2021-01-13 03:52
asp逐行读取txt,输出时每行加上超连接。
最佳答案
- 二级知识专家网友:老鼠爱大米
- 2021-01-13 04:18
Set objFso = server.createobject("Scripting.FileSystemObject")
Set objFile = objFso.OpenTextFile(Server.MapPath(strFileName))
Do While Not objFile.AtEndOfStream
strLine = objFile.ReadLine
response.write ""&strLine&"
"
Loop
Set objFile = nothing
Set objFso = nothing
Set objFile = objFso.OpenTextFile(Server.MapPath(strFileName))
Do While Not objFile.AtEndOfStream
strLine = objFile.ReadLine
response.write ""&strLine&"
"
Loop
Set objFile = nothing
Set objFso = nothing
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息!
大家都在看
推荐信息