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

前端 未结 0 1654
挽巷
挽巷 2021-02-11 20:43

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

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