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