In this article i will explain with an example, how to create generate export pdf file using crystal reports dynamically in asp. From the save as drop drown select appropriate format. If you have installed 32bit version of crystal report, then go and change platform target using the following steps. How to export crystal report to pdf, excel and word etc. Select the export report button at the top left corner. This article shows how to save a crystal reports data in pdf, word and excel formats with an asp. If you read my first article then its easy to understand this example, if not then please read my first article. Crystal reports data export overview finished crystal reports can be exported to a number of formats like xml, htm, pdf, spreadsheets and word processors and other common data interchange formats. This export retains the layout and formatting options, and pdfs cannot be modified. Also we have to set pdfrtfwordformatoptions and exportformattype. Crystal report export to pdf is a page based export type.
Finished crystal reports can be exported to a number of formats like xml, htm, pdf, spreadsheets and word processors and other common data interchange formats. For example, you may want to use the report data to enhance the presentation of data in a desktop publishing package. In the following example you can see how to export a crystal reports as a pdf format file. I have code sample here, i can save as a pdf file directly but what i want to do is to show client first pdf file, and allow users to save it. Export crystal report to pdf programmatically in asp. Here mudassar ahmed khan has explained with an example, how to export crystal report to pdf programmatically in asp. Walkthroughs show how to use both pull and push methods as well as exporting the report file into other formats.
People prefer crystal report export to pdf format mainly because it eliminates the ability to change the report document. Exporting crystal report to pdf programmatically means, exporting from codebehind without using the crystalreportviewer control in asp. Net crystal reports export to pdf exporting from crystal reports to pdf format, we are using crystal reportss crexportoptions. Crystal reports with dynamic images and export to pdf. This allows crystal report to use and distribute in an easy way. Note that page range option is not provided in the windows version of crystal report viewer control. This is not an option, this is an existing report in production use, and there are hundreds of them. Our reports call a oracle stored procs to obtain the data, the code just provides parameters for the proc to query the data. Create generate export pdf file using crystal reports. In these tutorials let us explore how to export crystal report using the various options available in crystal reports.