There are times when you would like to Export Crystal reports to various formats like PDF, Excel, etc. We have a tutorial which explains the Various Report formats support by Crystal Reports. We have also explained how to Export Crystal Report Using Crystal Report Viewer Control and also explained the SDK Function available to Export.
In this tutorial, we will show how to export Crystal Report to PDF using an example.
Table of Contents
Create a Visual Studio Project and add Crystal Report to it. If you are new to Crystal Report then read How to Create Crystal Report in Visual Studio from this link.
In that project, we had used an employee table to generate the report. In this tutorial let us Customer table and create a report CustomerList. I will leave the report creation part to you and in case if you have any issues, please post your problem in the comments section.
Once you have created the project do the following
Open the form and import the following namespaces.