private void saveBTN_Click(object sender, EventArgs e) { UPDATEToDoList update = new UPDATEToDoList(mySQLDB); update.update(id, noteRT.Text, statusCB.Text); refreshDataGrid("SELECT id, name, priority, " + "status, deadline from todolist WHERE userId=" + userId); }
private void SaveBtn_Click(object sender, EventArgs e) { UPDATEToDoList update = new UPDATEToDoList(mySQLDB); update.Update(id, NoteRTB.Text, StatusCB.Text); }