Click here to Skip to main content
15,909,440 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to save multi line text box in the database??
Posted

1 solution

The same way you would save any text. The contents of a multiline is still a string, it just happens to contain some newline ('\n') characters.
 
Share this answer
 
Comments
Neha Thanka 20-Jul-11 23:04pm    
But how to store these newline characters into the database?
Richard MacCutchan 21-Jul-11 4:02am    
What do you mean "how to store them"? This is just an array of characters which is stored the same way that any character data item is stored. If you do not understand this concept then you need to go back to your introductory guide or school notes on how data is held and managed inside a computer system.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900