Canon's adapter is way too expensive. Unless you find a second hand one or a china one, OR:
I've made 2 adapters for car (12V) and for wall-socket (220V).
I've used one dead battery as a plug to the camera.
Total cost - not more than 4-5 EUR.
power supply for EOS 400d
Battery disassembled, 3 wires soldered to the connector pads (though 2 were needed, the central one is not connected)
The battery modules and the PCB are removed from the body.
power supply for EOS 400d
One capacitor connected, just in case (though it's not needed)
power supply for EOS 400d
The battery body with a cable and plug,
The car adapter and the wall-socket adapter, which can be plugged to the battery body.
Important note: The both adapters are 7.2V-7.4V and 1.5A (atleast). The power-up of the camera is hungry.
One of my colleges made the changes to the adapters (some resistor), so they are 7.2V.