I am in a really big trouble and need quick response.By mistake some one uninstalled xampp on my laptop and i had lost my all data including databases.Please help how can i recover?I tried with Active partition recovery (licensed Version) and it recovered my databases but how can i open that files are in .frm and .ibd format.I just need to view the file if it can not be recovered in xampp just need the data.

That looks as if the database file already has been overwritten and corrupted by new data. After deleting files and folders accidently you immediately should switch off the PC and get out the hard disk. There are too many sectors involved so i dont think that any recory tool can save your data after deleting them and writing new data to the disk. Dont you have any bakckup of your data?

Last not least, you might follow the 3. advice of the message above:

If the file system or the disk is broken, and you cannot remove the .ibd file, you can set innodb_force_recovery > 0 in my.cnf and force InnoDB to continue crash recovery here.

Thats the final idea i have, if this does not fix your data, sorry, it has gone.