S
Sarah
I am trying to print the following code inside a code behind file (in an
Asp.net file)
Response.Write("This is Line1" & _
vbCRLF & "Now on Line 2 " & _
vbCRLF & "And finally this is Line 3")
When it prints inside a web browser, it keeps printing on the same line
something like
This is Line1Now on Line2And finally this is Line3
instead of
This is Line1
Now on Line2
And finally this is Line3
I know &_ mean continue code in next line. But I thought vbCRLF is for
printing(executing)
in next line. Am I so damn completely screwed up ridiculously beyond
freaking belief ?
Also what is the URL for MSDN's language reference (lists each command
with examples) for VB.net ?
I could not find it in vb.net pages of MSDN (I see all the code samples etc
but not a URL to lang reference)
Thanks
Asp.net file)
Response.Write("This is Line1" & _
vbCRLF & "Now on Line 2 " & _
vbCRLF & "And finally this is Line 3")
When it prints inside a web browser, it keeps printing on the same line
something like
This is Line1Now on Line2And finally this is Line3
instead of
This is Line1
Now on Line2
And finally this is Line3
I know &_ mean continue code in next line. But I thought vbCRLF is for
printing(executing)
in next line. Am I so damn completely screwed up ridiculously beyond
freaking belief ?
Also what is the URL for MSDN's language reference (lists each command
with examples) for VB.net ?
I could not find it in vb.net pages of MSDN (I see all the code samples etc
but not a URL to lang reference)
Thanks