Sounds like either you got:
- broken wire going to the sending unit
- or it came disconnected
- or a bad sending unit
The best test I know of is to unplug the wire from the sending unit and touch it to ground, this should peg the gauge to hot. If so your gauge and wire is fine and you have a bad sending unit. If there is no movement the you have a bad wire or gauge.