Show “NULL” for null values in ASP.NET MVC DisplayFor Html Helper

前端 未结 0 1714
孤独总比滥情好
孤独总比滥情好 2021-02-11 20:34

Is there a way to get an @Html.DisplayFor value to show \"NULL\" in the view if the value of the model item is null?

Here\'s an example of an i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题