m_Where += " and (CreateDate between '" + Convert.ToDateTime(uxTextBoxStartDate.Text).ToString() + "' and '" + Convert.ToDateTime(uxTextBoxEndDate.Text).AddDays(1).AddSeconds(-1+ "')"

Convert.ToDateTime(uxTextBoxEndDate.Text).AddDays(1).AddSeconds(-1)
表示在当前日期加上一天再减去一秒

相关文章:

  • 2022-12-23
  • 2021-12-05
  • 2021-12-28
  • 2021-08-15
  • 2022-01-18
  • 2021-12-05
猜你喜欢
  • 2021-12-05
  • 2021-12-28
  • 2021-12-05
相关资源
相似解决方案