new line is changed in space character

Hallo,

when I submit the data of a multiline textarea the new line is changed into a space character.

If the user write:

A

B

C

The text will be displayed as:

A B C

I am using a datalist with parameter stored procedure, Access 2003 DB.

Do you have a solution? Thanks

 

0
davico77
4/6/2005 3:04:07 PM
📁 asp.net.getting-started
📃 91979 articles.
⭐ 4 followers.

💬 1 Replies
👁️‍🗨️ 1143 Views

before you send in the data you can do something like :
txtstmtbdy1.text.replace(environment.newline,"<br>")  to preserve the newline's.

***********************
Dinakar Nethi
Life is short. Enjoy it.
***********************
0
ndinakar
4/6/2005 3:21:31 PM
Reply: