为model添加[DisplayFormat(ConvertEmptyStringToNull = false)]

[DisplayFormat(ConvertEmptyStringToNull = false)]
public string ContactPhone { get; set; }

 

相关文章:

  • 2021-05-24
  • 2021-07-12
  • 2021-11-13
  • 2022-12-23
  • 2021-09-08
  • 2022-01-15
猜你喜欢
  • 2021-05-18
  • 2021-09-08
  • 2021-10-15
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-30
相关资源
相似解决方案