I find using the following works quite well for SQL min/max dates after many DB related errors:

DateTime rngMin = (DateTime)System.Data.SqlTypes.SqlDateTime.MinValue;

DateTime rngMax = (DateTime)System.Data.SqlTypes.SqlDateTime.MaxValue;

  

相关文章:

  • 2022-12-23
  • 2021-10-26
  • 2021-06-18
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-23
  • 2021-05-31
  • 2021-06-08
  • 2021-06-09
  • 2021-12-13
相关资源
相似解决方案