Visual 2010 with Sqlite

需要这样Query 数据:

select count(*) from tblOrder where OrderStartTime >= '2013-06-30 00:00:00' and OrderStartTime <= '2013-06-30 23:59:59'

使用SQLiteCommand的reader.Read() 失败。

正确做法:

RowCount=Convert.ToInt32(cmd.ExecuteScalar());

 

相关文章:

  • 2021-04-10
  • 2022-12-23
  • 2021-09-04
  • 2021-11-22
  • 2021-08-23
  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案