The manual Page
Version française
     Method Response.Write  
[ index | glossary | news | downloads | links ]
 
  introduction to ASP
writting in ASP
ASP variables
the ASP 3.0 objects
the object Request
   .TotalBytes
   .ClientCertificate
   .Cookies
   .Form
   .QueryString
   .ServerVariables
   .BinaryRead
the object Response
   .Status
   .Cookies
   .AddHeader
   .AppendToLog
   .BinaryWrite
   .Clear
   .End
   .Flush
   .Redirect
   .Write
 
news
glossary
downloads
 
guest book
credits
contact
 
 
research
 
last update
25/03/2002
Valid HTML 4.0!
Valid CSS!
Hit-Parade
Measure your audience

Synopsis

Response.Write(Value)

This method writes any kind of content in the response. It is certainly the most used method of the object Response.

Value is mandatory.

Example

The example below is pretty simple. It illustrates how to display a dynamic table with the content of a form (sent with the GET method):

<TABLE border="1">
<TR>
	<TH>Name</TH>
	<TH>Value</TH>
</TR>
<%
For Each elem In Request.QueryString
	Response.Write("<TR>")
	Response.Write("<TD>" & elem & "</TD>")
	Response.Write("<TD>" & Request.QueryString(elem) & "</TD>")
	Response.Write("</TR>")
Next
%>
</TABLE>

This would render, for instance:

Name Value
surname This is my surname
name And this is my name
email [email protected]

printable format printable format



Copyright © 2000-2002 themanualpage.org - This site is submissive to the terms of the GNU GPL and FDL licences.