|Go shopping. |
See if the same part number shows for both units from a 3rd party parts supplier.
You would think they are interchangable, but some aren't.
If it were HP and Compaq, chances are pretty good in your favor. However, Dell does it's own thing whenever it can.
If it fits and locks / unlocks without power, lookup the pinouts for the drive of both manufacturers (service manual). If those are the same, you have a fair chance it may work.
I'm sure you don't want to plug it in, fire it up to see if it smokes.