欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

asp 输出

shiping1 的头像

dim dbpath  'the database path
dbpath=server.mappath("/") & "\db\cdb.mdb"
response.write(dbpath)
response.end

response.end( ); 表示停止输出内容,后面写什么都不会输出到浏览器
即后面写的response.write("end 后面的语句"),”end 后面的语句“ 不会在浏览器中看到

//在ASP中退出就是:  response.end    ;

//如何给ASP中的语句添加注释?很简单,直接在每行后面要注释的地方,打上英文单//引号(’)就可以注释asp代码

 

<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>

http://www.w3school.com.cn/asp/asp_syntax.asp

普通分类: