'String Builder Line Breaks

I need to display plain text using string builder in web forms. but I need to display thistext line by line. as of now I tried "Environment.NewLine" and "AppendLine" and "\n\r" and Append methods. But I didn't get the exact result.

The actual output is:

Location : Bangalore Unit : FS Sub Division : FSADM1

but for me the out put showing like this below format Location : Bangalore Unit : FS Sub Division : FSADM1

Please see the below code that I tried so for:



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source