It is a common error to accidentally delete a partition, and in doing so, all files are lost. CnW software will help you recover your files.
There are few stages, and if no data, or operating system has been added, a complete recovery will be possible.
The first stage is to determine the original partition, and full details are in the Partitions Analysis and recovery section. If this successfully recreates the master boot record, then a normal recovery function can be done on the disk, for both NTFS and FAT.
If it is not possible to detect the partition information, then it is necessary to force the partition type to the one required. This is normally NTFS, but it should be noted that several large PC manufacturers do include small FAT partitions at the start, and sometimes the end of a disk. The user may think the disk is NTFS, but there can also be FAT partitions.
The relative sector, and total sectors need to be filled in with 'reasonable' values, along with the operating system. When Recover is then selected, each recovery function has an analyse mode that can be used to determine the partition values.