private void button2_Click(object sender, EventArgs e) { StaticSQLiteHelper.ClearAndVacuumTable("schedule"); int rows = StaticSQLiteHelper.BatchExecuteNonQuery(schedule.ToSQLStringList("schedule")); MessageBox.Show(string.Format("影响的行数为:{0}", rows), "执行完成"); }