Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: double to string without point Pin
Luc Pattyn16-Mar-11 13:03
sitebuilderLuc Pattyn16-Mar-11 13:03 
AnswerRe: double to string without point Pin
PIEBALDconsult16-Mar-11 15:18
mvePIEBALDconsult16-Mar-11 15:18 
GeneralRe: double to string without point Pin
Luc Pattyn16-Mar-11 16:43
sitebuilderLuc Pattyn16-Mar-11 16:43 
GeneralRe: double to string without point Pin
Pierre besquent16-Mar-11 23:25
Pierre besquent16-Mar-11 23:25 
AnswerRe: double to string without point Pin
charles henington17-Mar-11 12:28
charles henington17-Mar-11 12:28 
QuestionCustom Bindable List Population [solved] Pin
cjb11016-Mar-11 6:19
cjb11016-Mar-11 6:19 
AnswerRe: Custom Bindable List Population Pin
JP_Rocks27-Mar-11 0:25
JP_Rocks27-Mar-11 0:25 
QuestionNew line with streamwriter [Solved] Pin
Pierre besquent16-Mar-11 4:45
Pierre besquent16-Mar-11 4:45 
Hi,
I write a txt file using streamwriter class :
 StreamWriter		monStreamWriter = new StreamWriter(myPath, true, System.Text.Encoding.ASCII);
 monStreamWriter.WriteLine(strEnteteHead + Inserer_Espaces(8) + entite.NumSIRET + Inserer_Espaces(7) + strDate + domicilationbancaireE + referenceVir + Inserer_Espaces(15) + strEuro + Inserer_Espaces(5) + guichetE + compteE + Inserer_Espaces(20) + agenceE );
monStreamWriter.WriteLine(strEnteteBody +Inserer_Espaces(8) + agenceD + reglement.ID + reglement.Nom + reglement.Banque + Inserer_Espaces(12) + agenceD + compteD + reglement.Montant + agenceD);
monStreamWriter.WriteLine(strEnteteSum + reglement.Montant.ToString());
 monStreamWriter.WriteLine();
 monStreamWriter.WriteLine ();			                           

the problem that i wanna that i have a new line every monstreamWriter.writeline. That is what i don't have when I open my txt file.
what is the problem??
ty

modified on Friday, March 18, 2011 6:05 AM

AnswerRe: New line with streamwriter Pin
Luc Pattyn16-Mar-11 5:17
sitebuilderLuc Pattyn16-Mar-11 5:17 
GeneralRe: New line with streamwriter Pin
Pierre besquent16-Mar-11 6:04
Pierre besquent16-Mar-11 6:04 
AnswerRe: New line with streamwriter Pin
Luc Pattyn16-Mar-11 6:29
sitebuilderLuc Pattyn16-Mar-11 6:29 
AnswerRe: New line with streamwriter Pin
Groulien16-Mar-11 5:17
Groulien16-Mar-11 5:17 
GeneralRe: New line with streamwriter Pin
Pierre besquent16-Mar-11 6:03
Pierre besquent16-Mar-11 6:03 
AnswerRe: New line with streamwriter Pin
Paladin200016-Mar-11 6:31
Paladin200016-Mar-11 6:31 
GeneralRe: New line with streamwriter Pin
Luc Pattyn16-Mar-11 7:22
sitebuilderLuc Pattyn16-Mar-11 7:22 
GeneralRe: New line with streamwriter Pin
Paladin200016-Mar-11 8:26
Paladin200016-Mar-11 8:26 
GeneralRe: New line with streamwriter Pin
Luc Pattyn16-Mar-11 8:33
sitebuilderLuc Pattyn16-Mar-11 8:33 
GeneralRe: New line with streamwriter Pin
Paladin200016-Mar-11 8:45
Paladin200016-Mar-11 8:45 
GeneralRe: New line with streamwriter Pin
Luc Pattyn16-Mar-11 9:46
sitebuilderLuc Pattyn16-Mar-11 9:46 
GeneralRe: New line with streamwriter Pin
Pierre besquent17-Mar-11 0:24
Pierre besquent17-Mar-11 0:24 
AnswerRe: New line with streamwriter Pin
Luc Pattyn17-Mar-11 4:35
sitebuilderLuc Pattyn17-Mar-11 4:35 
GeneralRe: New line with streamwriter Pin
Pierre besquent17-Mar-11 6:00
Pierre besquent17-Mar-11 6:00 
GeneralRe: New line with streamwriter Pin
Luc Pattyn17-Mar-11 6:29
sitebuilderLuc Pattyn17-Mar-11 6:29 
AnswerRe: New line with streamwriter Pin
jschell16-Mar-11 8:27
jschell16-Mar-11 8:27 
GeneralRe: New line with streamwriter Pin
Pierre besquent17-Mar-11 0:15
Pierre besquent17-Mar-11 0:15 

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.