I got a textarea.
I if fill in :
test test fsdfd fsdfds
whatever
haha
i see : test test fsdfd fsdfds whatever haha
In other words i don't see the places where i put an enter. How to show them and let the inputted data see how they were inputted (with the ENTER)
thx
(something with ascii values?? :s)Message.Replace("\n", "<br/>")
Message.Replace(vbCrLf, "<br/>")
none of these works.
How to replace an 'enter' in asp.net?
Any ideas?I am stupid.
I found the solution. God! i am tired, maybe i should take a break.
Sorry to flood the forum like this, i apologize. I recently discovered that you made a 'asp.net' forum.
Sorry again to bother you. Next time i'll try harder and come with 'real' problems.Originally posted by darktown
Message.Replace("\n", "<br/>")
the "\n" is a C based language structure... vb.net will have to use vbCr,VbCrLf,vbLf or VbNewLine
I if fill in :
test test fsdfd fsdfds
whatever
haha
i see : test test fsdfd fsdfds whatever haha
In other words i don't see the places where i put an enter. How to show them and let the inputted data see how they were inputted (with the ENTER)
thx
(something with ascii values?? :s)Message.Replace("\n", "<br/>")
Message.Replace(vbCrLf, "<br/>")
none of these works.
How to replace an 'enter' in asp.net?
Any ideas?I am stupid.
I found the solution. God! i am tired, maybe i should take a break.
Sorry to flood the forum like this, i apologize. I recently discovered that you made a 'asp.net' forum.
Sorry again to bother you. Next time i'll try harder and come with 'real' problems.Originally posted by darktown
Message.Replace("\n", "<br/>")
the "\n" is a C based language structure... vb.net will have to use vbCr,VbCrLf,vbLf or VbNewLine