You can connect to a CE database using the Server Management Studio (choose CE from the Server Type dropdown) and then you will have to browse to the directory containing the sdf file. I believe you can import/export data from there.
A program could also be written to do imports and exports.
John