Example #1
0
 //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 + "')");
 }
Example #2
0
 public void chitietNV_Insert(Dulieu dt)
 {
     Xuly.table_Command("INSERT INTO chitietStaff VALUES(N'" + dt.WorkName + "',N'" + dt.WorkStatus + "',N'" + dt.StaffName + "')");
 }
Example #3
0
 public void chitietCV_Insert(Dulieu dt)
 {
     Xuly.table_Command("INSERT INTO chitietWork VALUES(N'" + dt.WorkName + "','" + dt.StaffName + "','" + dt.DepartmentName + "')");
 }