📄 ch10-03-03.aspx
字号:
<Html>
<Head>
<Title>Ch10-03-03.aspx Server对象CreateObject方法</Title>
</Head>
<Body>
<Center><H2>Server对象CreateObject方法</H2></Center>
<%
Dim FSO, Files As Object
Dim strA As String
' 创建文件系统对象 - FileSystemObject对象
FSO = Server.CreateObject("Scripting.FileSystemObject" )
Files= FSO.OpenTextFile(Server.MapPath("/ASP/Chap10/Test.txt") , 1 , False)
strA = Files.ReadAll()
Response.Write("文件内容:<BR>" & strA )
%>
</Body>
</Html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -