Type this at the "grub>" prompt:
Code:
rootnoverify (hd0,0)
chainloader +1
Where (hd0,0) is your windows partition.
Grub doesn't store it's configuration in the MBR; it stores it on your distro's /boot partition. That is why when you deleted those linux partitions grub doesn't know what to do anymore.
Good Luck!