当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP Write 方法

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP Write 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 370 ::
收藏到网摘: n/a

The Write method writes a specified string to the output.
Write(写入)指令是用来向输出的结果中写入一段特定的字符串。

Syntax
语法

Response.Write variant

Parameter
参数
Description
描述
variant Required. The data to write
必要参数。用来写入日期

Examples
举例

Example 1

<%
Response.Write "Hello World"
%>

Output:

Hello World

Example 2

<%
name="John"
Response.Write(name)
%>

Output:

John

Example 3

<%
Response.Write("Hello<br />World")
%>

Output:

Hello
World

评论 (0) All

登陆 | 还没注册?