|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
Response对象常与其它的代码混合使用。下面这段代码演示了response.write与其 它代码混用的例 子。 <html><head> <title>res5.asp</title> </head><body bgcolor="#FFFFFF"> <% \\\' The response object can be used to write text \\\' but sometimes some functions must be used to transform \\\' the text instead of sending as is to the browser response.write "<B>Hyperion</b> by <I>Dan Simmons</i> is a great novel" response.write "<p>" response.write server.htmlencode("<B>Hyperion</b> by <I>Dan Simmons</i> is a great novel") response.write "<p>" response.write "Joe Smith & Hilda = a team" response.write "<p>" response.write server.URLencode("Joe Smith & Hilda = a team") %> </body></html> 返回类别: 教程 上一教程: ASP中常用的文件处理函数 下一教程: 利用ASP实现事务处理的方式 您可以阅读与"RESPONSE对象5"相关的教程: · RESPONSE对象2 · RESPONSE 对象 · RESPONSE对象1 · ASP内置对象详解之RESPONSE对象 · RESPONSE对象4 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |