Exemplo n.º 1
0
 public void Update_CTPBH(CT_PhieuBaoHanh ex)
 {
     KetNoi.ExecuteReader(@"update CT_PhieuBaoHanh Set SoLuong=" + ex.SoLuong + ",GhiChu=N'" + ex.GhiChu + "' Where MaPBH=N'" + ex.MaPBH + "' and TenLK=N'" + ex.TenLK + "'");
 }
Exemplo n.º 2
0
 public void XoaCTPhieuBaoHanh(CT_PhieuBaoHanh ex)
 {
     KetNoi.ExecuteReader(@"Delete From PhieuBaoHanh where MaPBH=N'" + ex.MaPBH + "' and TenLK=N'" + ex.TenLK + "'");
 }
Exemplo n.º 3
0
 public void ThemCTPhieuBaoHanh(CT_PhieuBaoHanh ex)
 {
     KetNoi.ExecuteReader(@"Insert Into CT_PhieuBaoHanh values(N'" + ex.MaPBH + "',N'" + ex.TenLK + "',N'" + ex.SoLuong + "',N'" + ex.GhiChu + "')");
 }
Exemplo n.º 4
0
 public void Update_CTPBH(CT_PhieuBaoHanh ex)
 {
     bus.Update_CTPBH(ex);
 }
Exemplo n.º 5
0
 public void XoaCTPhieuBaoHanh(CT_PhieuBaoHanh ex)
 {
     bus.XoaCTPhieuBaoHanh(ex);
 }
Exemplo n.º 6
0
 public void ThemCTPhieuBH(CT_PhieuBaoHanh ex)
 {
     bus.ThemCTPhieuBaoHanh(ex);
 }