Use NewLine on collection

Hi there,

I have a problem with my collection. I want to send my collection in a html template but even with the Environment.NewLine, all datas are on the same line :confused:

My assign :

Do you have solution ? Thanks !

give a try at <br>

Hi,

how it is suppose to work ? Because i have this code in HTML

it would then be
String.join("<br/>", listeContratsTraite).ToString

1 Like

Hi @Christopher_p

please refer the below thread.

Hope it helps!!!

1 Like

just come up with all details in sense of what is the use case and what is aimed

HTML5: <br>
XHTML: <br/>

1 Like

That’s work, thanks !!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.