A vertical wire carries a current in upward direction. An electron beam sent horizontally towards the were will be deflected.

With the right hand cork screw we can get the direction of the magnetic field due to the vertical current carrying wire. And we find it to be directed downwards. Now applying Fleming’s Left hand rule, we can find the direction of force as we put the direction of the electron beam as the opposite direction of current. We can find that force is pointed upwards. So the electron beam will be deflected upwards.

1