Click here to Skip to main content
15,891,431 members
Home / Discussions / C#
   

C#

 
QuestionJunk characters in text file made using Stream Writer. Pin
Saum_Vora12-Dec-08 1:39
Saum_Vora12-Dec-08 1:39 
Hi,

In one of my application created in C#, i am taking back up of data in text file. The data is fetched from db and inserted into datareader. Then each column is read and appended in StreamBuilder with "," delimiters. In this way i append about more than 1000 records in one string builder.Now this builder is written in file using Stream Writer. On checking the file i found that data of few columns of only one row contained junk characters. What should be the reason and how to solve/take care about it.

Regards

Saumik V
AnswerRe: Junk characters in text file made using Stream Writer. Pin
Lev Danielyan12-Dec-08 3:05
Lev Danielyan12-Dec-08 3:05 
QuestionDate n time problem Pin
Neha V12-Dec-08 0:45
Neha V12-Dec-08 0:45 
AnswerRe: Date n time problem Pin
Lev Danielyan12-Dec-08 0:48
Lev Danielyan12-Dec-08 0:48 
AnswerRe: Date n time problem Pin
Expert Coming12-Dec-08 0:49
Expert Coming12-Dec-08 0:49 
QuestionGauge Graph Pin
Atul Shriram rane12-Dec-08 0:44
Atul Shriram rane12-Dec-08 0:44 
AnswerRe: Gauge Graph - CROSS POST Pin
Ashfield12-Dec-08 1:29
Ashfield12-Dec-08 1:29 
QuestionRunning .NET application through LAN Pin
Yulianto.12-Dec-08 0:39
Yulianto.12-Dec-08 0:39 
AnswerRe: Running .NET application through LAN Pin
Expert Coming12-Dec-08 0:46
Expert Coming12-Dec-08 0:46 
GeneralRe: Running .NET application through LAN Pin
Yulianto.12-Dec-08 15:50
Yulianto.12-Dec-08 15:50 
AnswerRe: Running .NET application through LAN Pin
Gideon Engelberth12-Dec-08 6:33
Gideon Engelberth12-Dec-08 6:33 
QuestionApp.config or Resources.resx Pin
Vandretta12-Dec-08 0:28
Vandretta12-Dec-08 0:28 
AnswerRe: App.config or Resources.resx Pin
Lev Danielyan12-Dec-08 0:36
Lev Danielyan12-Dec-08 0:36 
GeneralRe: App.config or Resources.resx Pin
Vandretta12-Dec-08 0:38
Vandretta12-Dec-08 0:38 
GeneralRe: App.config or Resources.resx Pin
Simon P Stevens12-Dec-08 0:43
Simon P Stevens12-Dec-08 0:43 
GeneralRe: App.config or Resources.resx Pin
Lev Danielyan12-Dec-08 1:08
Lev Danielyan12-Dec-08 1:08 
QuestionDispsose() or Close() Pin
TJS4u12-Dec-08 0:08
TJS4u12-Dec-08 0:08 
AnswerRe: Dispsose() or Close() Pin
Simon P Stevens12-Dec-08 0:20
Simon P Stevens12-Dec-08 0:20 
AnswerRe: Dispsose() or Close() Pin
Lev Danielyan12-Dec-08 0:24
Lev Danielyan12-Dec-08 0:24 
AnswerRe: Dispsose() or Close() Pin
Expert Coming12-Dec-08 0:55
Expert Coming12-Dec-08 0:55 
AnswerRe: Dispsose() or Close() Pin
Giorgi Dalakishvili12-Dec-08 1:34
mentorGiorgi Dalakishvili12-Dec-08 1:34 
AnswerRe: Dispsose() or Close() Pin
carbon_golem12-Dec-08 2:49
carbon_golem12-Dec-08 2:49 
QuestionWinFrom help.... Pin
hotthoughtguy11-Dec-08 23:43
hotthoughtguy11-Dec-08 23:43 
AnswerRe: WinFrom help.... Pin
Christian Graus11-Dec-08 23:44
protectorChristian Graus11-Dec-08 23:44 
GeneralRe: WinFrom help.... Pin
hotthoughtguy11-Dec-08 23:49
hotthoughtguy11-Dec-08 23:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.