B
Barnabas (Barney) Yohannes
Please help me how I can enter text with carriage returns into my database.
I have a Textbox with TextMode="MultiLine"
Now, if inter a text with a carriage return, then, after I enter the text into SQL Server database, when I retrieve the text, I get the text in unwrapped format. Therefore, I have been entering the text with <br> html so that the text will read on the next line.
I was thinking if there is a way to put my text into a loop and search for any carriage return and insert <br> in the place of each carriage return.
Any help is highly appreciated,
Salutations
I have a Textbox with TextMode="MultiLine"
Now, if inter a text with a carriage return, then, after I enter the text into SQL Server database, when I retrieve the text, I get the text in unwrapped format. Therefore, I have been entering the text with <br> html so that the text will read on the next line.
I was thinking if there is a way to put my text into a loop and search for any carriage return and insert <br> in the place of each carriage return.
Any help is highly appreciated,
Salutations