唉,需要不停的踩坑呀

commandText = commandText + string.Format("where [CollectDateTime] <'{0}' and [CollectDateTime]>'{1}'", end.ToString("yyyy-MM-dd HH:mm:ss"), start.ToString("yyyy-MM-dd HH:mm:ss"));

时间必须转换成这种格式才可以筛选

yyyy-MM-dd HH:mm:ss

 

相关文章:

  • 2022-12-23
  • 2022-01-08
  • 2021-09-26
  • 2022-12-23
  • 2021-12-28
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2021-06-30
  • 2021-12-03
  • 2022-12-23
相关资源
相似解决方案