最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp教程:asp循环读取txt数数据
时间:2008-11-28 编辑:简简单单 来源:一聚教程网
asp教程:asp循环读取txt数数据
<%
Set FS = Server.CreateObject("Scripting.FileSystemObject")
Set RS = FS.OpenTextFile(Server.MapPath("text") & "Tt.txt",1)
While not rs.AtEndOfStream
Response.Write RS.ReadLine
Response.Write("
")
Wend
%>
输出结果.
abc
bcd
cde
edf
好了下面来看看我们的Tt.txt文件吧.
abc
bcd
cde
edf
输个字符串都在一行哈.
相关文章
- ASP读取WORD文档中表格数据 06-13
- VBS 批量Ping的项目讲解 09-19
- 如何封装一个Ajax函数介绍 09-16
- ASP实现加法验证码方法 09-16
- ASP错误捕获的几种常规处理方法介绍 09-16
- ajax实现城市三级联动的代码介绍 09-16