cshtml Html.DisplayFor 顯示多行 Post author:rovingwind Post published:2021 年 5 月 31 日 Post category:C# / html Post comments:0 Comments 使用 span 區塊包覆並加上 style <span style="white-space: pre-line">@Html.DisplayFor(m => m.MultilineText2)</span> You Might Also Like C# Random 隨機整數 2021 年 7 月 23 日 C# 傳回質數 2021 年 5 月 26 日 Synology Nas Docker 使用 ASP.Net Core 5 佈署網站 2021 年 7 月 9 日 發佈留言 取消回覆CommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) 在瀏覽器中儲存顯示名稱、電子郵件地址及個人網站網址,以供下次發佈留言時使用。