Recommended: Use of MsgBox function and InputBox function in ASP The MsgBox function displays a message in the dialog box, waiting for the user to click the button, and returns a value to indicate the button that the user clicks. The syntax format is as follows: MsgBox(prompt[,buttons][,title][,helpfile,context]) prompt: Specify the string buttons displayed in the dialog box: Specify the number and type of buttons displayed, the icon style used, the default value is 0 (parameters
The Response object responds to an HTTP response, through which properties and methods can control how the server's data is sent to the client browser.
When using Response objects in ASP scripts, follow the following syntax format:
Response. Collection name
Response.Property name
Response.Method Name
The Response object has only one cookies collection, and the various properties of the collection are as follows:===========================================================
< %@ language=vbscript codepage=936″%>
< %
Response.Buffer=True
Response.Write <html>
Response.Write <head>
Response.Write <title>Response.Write method application example</title>
Response.Write <style type=text/css>
Response.Write <!- .style1{font-family:安安;font-size:9pt} –>
Response.Write </style>
Response.Write <body>
Response.Write <div align=center class=style1″>
Response.Write Gift to Wang Lun<br>Li Bai<hr>
Response.Write Li Bai was about to leave when he suddenly heard the singing on the shore. <br>
Response.Write The water in Taohuatan is a thousand feet deep, not as deep as Wang Lun gives me love. <br>
Response.Write </div>
Response.Write </body>
Response.Write </html>
%>
============================================================
Share: ASP + FLASH + ACCESS Tutorial ASP part: % added=request(added) del=request(del) action=request.QueryString(action) set conn=server.createObject (adodb.connection) set rs=server.createObject (adodb.recordset) dbpath=server.MapPath (db1.mdb) connstr=Driver={Microsoft Access Driver