public int Delete1(string maKH) { data.Connect(); string sql = "DELETE FROM KhachHang WHERE MaKH ='" + maKH + "'"; int numberOff = data.ExecuteNonQuery(sql); return(numberOff); }
public int Delete1(string maSP) { data.Connect(); string sql = "DELETE FROM SanPham WHERE MaSP ='" + maSP + "'"; int numberOff = data.ExecuteNonQuery(sql); return(numberOff); }