Problems Download excel file

Topics: Developer Forum, Project Management Forum, User Forum
Oct 30, 2012 at 3:14 PM


Good afternoon,


I have a problem in regards to can download the file in Excel, or create an excel file with information that only this file remains on the server. And I wanted that would download directly to the client pc. I've walked researching and saw that I have to put headers before making the save.
Only there's a problem, or am I doing something wrong. The file that I downloaded appear as strange characters may view this screen:
http://i50.tinypic.com/n1cra0.jpg

Someone can help me

Coordinator
Oct 30, 2012 at 4:40 PM

If you're getting the file loaded as a string, then in all probability you have an output in your code that's adding a leading or trailing whitespace to the output file

 

Oct 31, 2012 at 12:20 PM

Would you put here my code to see who might be doing wrong? Because I'm not able to reach any conclusion