private void 清空ToolStripMenuItem_Click(object sender, EventArgs e) { DB.Excute("DELETE FROM ALARM;"); ReLoadList(); }
public void SetAlarmReply(string ID, string REPLY) { DB.Excute(string.Format("UPDATE ALARM SET REPLY='{0}',REPLYTIME=DATETIME() WHERE ID={1};", REPLY, ID)); }