Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I successfully done exporting gridview to excel, but while opening the exported file, it shows error: "The file your are trying to open, <file name=""> is in different format..........." I searched this error to google. It shows the excel security issue and the solution given is create key in registry. My question is without craeting key in registry, how to resolve this error?
Posted

1 solution

 
Share this answer
 
Comments
kish's 19-Feb-13 5:35am    
i exported to excel successfully, thats not an issue, the error showing "The file your are trying to open, is in different format..........." is the issue while open the (.xls,.xlsx) file.
Prasad_Kulkarni 19-Feb-13 5:37am    
Oops my bad!

Please have a look on this similar answer[^], hope you get some help out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900