have you checked your fuses? take a look at the car's manual and look for any type of speedometer or dash fuses.

edit - although, the odometer should be mechanical..... there must be a loose connection from the transmission or speed sensor?