Groups | Blog | Home
all groups > asp.net building controls > march 2004 >

asp.net building controls : carriage return character


Rudi Ahlers
3/28/2004 6:07:11 PM
What is the newline (carriage return) character?
I have seen the following in practice:
clientresponse = "Hello " & username & Chr(39) & Chr(39) & clientresponse
But this creates a " sign, can anyone tell me what the newline character is?
This is for inserting data into a DB, and keeping keeping the carriage
return

In HTML it would be <BR>

--

Kind Regards
Rudi Ahlers
+27 (82) 926 1689

Greater love has no one than this, that he lay down his life for his friends
(John 15:13).

Victor Garcia Aprea [MVP]
3/28/2004 11:11:15 PM
Carriage return is 13 and Line feed is 10

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup

[quoted text, click to view]

Antonio Bakula
3/29/2004 10:07:41 PM
[quoted text, click to view]

use System.Environment.NewLine constant

--
http://www.antoniob.com/
remove XremoveX from e-mail address
AntiSpam Fodder:
AddThis Social Bookmark Button