This is a Mac (Apple) forum but your question indicates that you are using a Windows based system.
The Mac does not use letters, A: B: C: D:, as drive designators, it uses names.
Try posting your question over Here
You will get a better response over there
Usually, if you Format a drive, ALL the data is destroyed.
Yesterday I format my system and partition my partition again . But when i open the drive of D , It is wrong , I can not open it . There are many important photos of my family . .What is the problem?