response.writeLine [英] response.writeLine
问题描述
您好,
如何向客户端写一行(带回车+换行符)?
response.write(" abcd"),继续最后一行,并没有把cr + lf。
response.writeLn是非法的语法...
谢谢:)
Hello,
How can I write a line (with carriage return + line feed) to the client ?
response.write("abcd"), continue the last line, and doesn''t put cr+lf.
response.writeLn is illegal syntax...
Thank :)
推荐答案
Response.Write(" Abcd"&"< BR>")
-
Roji。 P. Thomas
净资产管理
https:// www。 netassetmanagement.com
" Eitan" < no_spam_please@nospam_please.com>在消息中写道
新闻:Ow **************** @ TK2MSFTNGP10.phx.gbl ...
Response.Write("Abcd" & "<BR>")
--
Roji. P. Thomas
Net Asset Management
https://www.netassetmanagement.com
"Eitan" <no_spam_please@nospam_please.com> wrote in message
news:Ow****************@TK2MSFTNGP10.phx.gbl...
你好,<如何写一行(带回车符+换行符)到客户端?
response.write(" abcd"),继续最后一行,并且不会输入cr + lf。
response.writeLn是非法的语法......
谢谢:)
Hello,
How can I write a line (with carriage return + line feed) to the client ?
response.write("abcd"), continue the last line, and doesn''t put cr+lf.
response.writeLn is illegal syntax...
Thank :)
谢谢:)
Roji。 P. Thomas <第******** @ gmail.com>在消息中写道
新闻:Oi **************** @ TK2MSFTNGP15.phx.gbl ...
Thanks :)
"Roji. P. Thomas" <th********@gmail.com> wrote in message
news:Oi****************@TK2MSFTNGP15.phx.gbl...
Response.Write (Abcd&"< BR>")
-
Roji。 P. Thomas
净资产管理
https://www.netassetmanagement.com
Eitan < no_spam_please@nospam_please.com>在消息中写道
新闻:Ow **************** @ TK2MSFTNGP10.phx.gbl ...
Response.Write("Abcd" & "<BR>")
--
Roji. P. Thomas
Net Asset Management
https://www.netassetmanagement.com
"Eitan" <no_spam_please@nospam_please.com> wrote in message
news:Ow****************@TK2MSFTNGP10.phx.gbl...
你好,
如何我可以写一行(回车+换行)给客户
吗? response.write(" abcd"),继续最后一行,并没有放cr + lf。
response.writeLn是非法语法...
谢谢:)
Hello,
How can I write a line (with carriage return + line feed) to the client ? response.write("abcd"), continue the last line, and doesn''t put cr+lf.
response.writeLn is illegal syntax...
Thank :)
Roji。 P. Thomas于2005年1月12日写道:
Roji. P. Thomas wrote on 12 jan 2005:
如何写一行(回车+换行)?
How can I write a line (with carriage return + line feed)?
Response.Write(" Abcd"&"< BR>")
Response.Write("Abcd" & "<BR>")
最好不要在VBscript中使用()这里。
它们只是一个额外的解析步骤和
你会在一个包含多个参数的语句中得到一个错误的同时
。
Response.Write" Abcd" &安培; "<峰; br>" &安培; VbCrLf
VbCrLf会在客户端的渲染源中为你获得一个新行
响应。写< p> &安培; " ABCD" &安培; "< / p为H." &安培; VbCrLf
是制作段落的方式
等
-
Evertjan。
荷兰。
(用我的电子邮件地址替换所有带点的十字架)
Preferably do not use () here in VBscript.
They are just an extra parsing step and
you will get an error doing the same
on a statement with more than one argument.
Response.Write "Abcd" & "<br>" & VbCrLf
the VbCrLf will get you a new line
in the rendered source on the client
Response.Write <p> & "Abcd" & "</p>" & VbCrLf
is the way to make paragraphs
etc.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
这篇关于response.writeLine的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!