调试运行到ExecuteScalar函数总是会出现问题
public int QueryCounts()
{
string sql = string.Format("select count(*) from {0}", table);
SQLiteCommand cmd = new SQLiteCommand(sql, sqlitecon);
int n = (int)cmd.ExecuteScalar();
return n;
}