problem with stringwriter
-
-
Hi, I have a problem with saving a long text with newline characters in richtextbox control to a txt file. I'm using streamwriter to save the text. But the text in the file don't recognize the new line character. Can anyone help solving this problem?
Could you give us a small piece of code of what you are trying to do? You can do it on anything you choose - from .bat to .net - A customer
-
Could you give us a small piece of code of what you are trying to do? You can do it on anything you choose - from .bat to .net - A customer
This is the example text of richtextbox that i want to save to a txt file : 1. xxx...(the new line) xxx...(the new line) 2. xxx... (the new line) xxx...(the new line) . . . (and so on) The text in the txt file: 1. xxx...xxx...2. xxx...xxx... So, this is the problem. Great thx for helping.:)