Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello, I'm new to ASP.NET. I would like to populate a textbox programmatically with some text containing different paragraphs.

 

Unfortunately, I don't know the code that allows you to go to a new line in ASP.NET.

 

I have tried to use the VB keywords Chr(13) & Chr(10) as in the following example but it didnt work.

 

<code>

TextBox1.Text = "This is the first paragraph." & Chr(13) & Chr(10) & "And this should be the second!"

</code>

 

Any help?

 

TIA

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...