I don’t know what is wrong with the following string:
"Report(" + System.DateTime.Now.ToString("dd-MMM-yyyy") + " to " + System.DateTime.Now.AddMonths(-1).ToString("dd-MMM-yyyy") + ")"
I can’t get the concatenated string. I am getting Report(29-Dec-2009. That’s all and
the rest gets left out from the string.
What is the reason?
Try this:
EDIT: Since in your download box you got your filename broken in first whitespace, you could to try ONE of these:
Seems some browsers doesn’t handles whitespaces very nicely: Filenames with spaces are truncated upon download. Please check it you can to download other filenames with whitespace in other sites.