FYI
Got this working in the end with a simple HTML <br> tag.
Cheers,
Con
(E-Mail Removed) wrote:
> Hi Folk,
>
> I am trying to display a string with a carriage return line feed in it
> so when I bind it to a datagrid it shows my text new line then more
> text new line etc, in a DataRow
>
> I am currently building up the new string like so:
> BigString += string_name + Environment.NewLine;
>
> then returning the string and populating a DataRow dynamically.
> dataRow["ColumnName"] = bigString;
>
> When I display the results in a Datagrid I just get [text] followed by
> a space then [text].
>
> How do I get it the carriage return to work?
>
> Thanks in advance.
> Cheers,
> Con
>
> p.s. have I tried \r\n but to no avail