public void PhieuNhap_Insert(PhieuNhap pn) { _db.table_Command("INSERT INTO PhieuNhap VALUES('" + pn.MaPhieuNhap + "','" + pn.NgayNhap + "','" + pn.MaNv + "','" + pn.MaNhaCc + "')"); }
public void PhieuNhap_Update(PhieuNhap pn) { _db.table_Command("UPDATE PhieuNhap SET NgayNhap='" + pn.NgayNhap + "',MaNV='" + pn.MaNv + "',MaNhaCC='" + pn.MaNhaCc + "' WHERE MaPhieuNhap='" + pn.MaPhieuNhap + "'"); }
public void PhieuNhap_Delete(PhieuNhap pn) { _db.table_Command("DELETE FROM PhieuNhap WHERE MaPhieuNhap='" + pn.MaPhieuNhap + "'"); }