//public void Work_Delete(Dulieu dt) //{ // Xuly.table_Command("DELETE FROM work WHERE workID = '" + dt.WorkID + "'"); //} public void Work_Insert(Dulieu dt) { Xuly.table_Command("INSERT INTO work VALUES(N'" + dt.WorkName + "','" + dt.FromTime + "','" + dt.ToTime + "','" + dt.WorkStatus + "','" + dt.WorkDate + "')"); }
public void chitietNV_Insert(Dulieu dt) { Xuly.table_Command("INSERT INTO chitietStaff VALUES(N'" + dt.WorkName + "',N'" + dt.WorkStatus + "',N'" + dt.StaffName + "')"); }
public void chitietCV_Insert(Dulieu dt) { Xuly.table_Command("INSERT INTO chitietWork VALUES(N'" + dt.WorkName + "','" + dt.StaffName + "','" + dt.DepartmentName + "')"); }