Hi, I want to save crystal report as PDF when a user view that report.. so on my page load event i created ExportToDisk(ExportFormatType. 1. 2. 3. 4. 5. public virtual void ExportToDisk (ExportFormatType formatType, string fileName);. The above function takes two. ExportToDisk. ExportToDisk is the simplest of export command. It takes 2 parameters. Export format type and File Name.
|Published (Last):||25 February 2006|
|PDF File Size:||19.23 Mb|
|ePub File Size:||8.69 Mb|
|Price:||Free* [*Free Regsitration Required]|
I have a C application that generates a hundreds of different reports at exporgtodisk time using Crystal Reports templates and saves them to a network share using the ReportDocumnet.
Provide an answer or move on to the next question. Registration is fast, simple and absolutely free.
C# code to export to pdf using Crystal Report
It has also had the option to export the report. Add your solution here. If you continue to use this site we will assume that you are happy with it.
Expogttodisk ensure that you can contact the server that authenticated you. ExportToDisk takes too long. Welcome to the p2p. It is kind of a scheduled task on a windows server.
It does not do this all the time which is confusing. ExportOptions optionsSystem. Crystal Report supports following Export Format Types. Treat my content as plain text, not as HTML. ExportToDisk is the simplest of export command.
How to Export Crystal Report
This Exports a report to the response object in the format specified. If you have installed 32bit version of crystal report, then go and change platform target using the following steps.
It is a UNC file path e.
When answering a question please: This option was explained later in the tutorial. This option gives us the most flexibility when comes to exporting the report.
Crystal Reports: ReportDocument.ExportToDisk() takes too long..
This has caused a significant increase in the total time as there are about such reports. Any ideas why this happens?
I found this article which is very useful for you. Another way to export is to use the export function. The current version of the program is a console app and is not multi threaded.