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

ASP
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator
ASP Quick Ref
ASP 摘要
ASP 实例

ASP Write 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 371 ::
收藏到网摘: 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

登陆 | 还没注册?