Reading and writing a CRLF file

Posted by Jeena under C# on 11/9/2012 | Points: 10 | Views : 2368 | Status : [Member] | Replies : 1
Hi all,

One of my client told me to create a file ,which use \r\n [CRLF]as the record separator.I have created the file and uploaded to the the client,but client is claiming he is getting a
blank line at every even position.Can some one suggest how can i trouble shoot the issue he is claiming?



Thanks,
Jeena




Responses

Posted by: Krv on: 11/15/2012 [Member] Starter | Points: 25

Up
0
Down
If you are using, Stream reader, you can read line by line (ie. sr.ReadLine)
If you are suing ReadtoEnd and Splitting it based on the [CRLF], then user 'RemoveEmptyString' option

Thanks,
R.Vasanth
MCTS(SQL Server & BI)
http://bigdatatech.blogspot.com

Jeena, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response