Export a report to multiple excel files
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
Hi, :) Can C# export a report (created using Crystal Reports 9) to multiple excel files automatically (in background)? Because the report is to big for only one excel file, so i need to split it into more than 1 excel files. Thank you for the help.
What I use to do for exporting is exporting HTML file but under XLS extension (Excel can understand HTML). Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition","attachement; filename=\"SomeFile.xls\""); That is the code that I entered in my Page_Load. Everything works fine after that :) If someone says "Die mortal!", don't stay to see if he isn't.