public void XoaDuLieu(E_NhanhKho et) { sql.XoaDuLieu(et); }
public void SuaDuLieu(E_NhanhKho et) { sql.SuaDuLieu(et); }
public void ThemDuLieu(E_NhanhKho et) { sql.ThemDuLieu(et); }
public void XoaDuLieu(E_NhanhKho et) { cn.ThucThiCauLenhSQL(@"DELETE from NhanhKho Where Makho = N'" + et.Makho + "')"); }
public void SuaDuLieu(E_NhanhKho et) { cn.ThucThiCauLenhSQL(@"UPDATE NhanhKho (Makho, TenKho, DiaChi, SDT,Price, MaLoaiNhanhKho, SoLuong) " + "VALUES (N'" + et.Makho + "',N'" + et.TenKho + "',N'" + et.DiaChi + "',N'" + et.SDT + "')"); }
public void ThemDuLieu(E_NhanhKho et) { cn.ThucThiCauLenhSQL(@"INSERT INTO NhanhKho (Makho,TenKho,DiaChi,SDT) " + "VALUES (N'" + et.Makho + "',N'" + et.TenKho + "',N'" + et.DiaChi + "',N'" + et.SDT + "')"); }