If you just formatted the C partition, you might be able to salvage some of the files using a recovery tool (RecoveryMyFiles or the free Recuva), but I have never had too much look with the free tools. However if you are talking about data that was on the D partition and you installed Windows over it, I doubt you will recover that unless they are still located on an unwritten sector.