How to persist whitespaces from TextBox control ?

Aug 29 2006 7:39 AM

I am reading string from a textbox control with multiline propery=true and with vertical scrollbar.
The characters entered from this textbox (along with whitespaces), I am storing it in a string which is serialized and persisted on hard disk.
Next time when I read this string into similar another textbox, all the whitespaces are lost and I can see all characters in single line without the whitespaces.

How to persist the whitespaces from textbox ?