How do I add a newline after each item, in a textarea that's inside a Razor @foreach
statement?
The code below displays everything on one line like...
12341524345634567654354487546765
When I want...
12341524
34563456
76543544
87546765
<textarea>
@foreach (var item in ViewData.Model)
{
@item["ACCT_ID"]
}
</textarea>