Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step online tutorials.

19.03 Using Programming Code

Exporting with Programming Code Using the built-in export feature of the Crystal Reports viewer is nice, but as in most things related to programming, what you get in ease of use you give up in functionality. To get the most functionality for exporting a report, you have to write the programming code yourself. It is […]

19.02 Export with the Viewer

Exporting with the Viewer The easiest way to export a report is to have the users do it themselves by using the report viewer. The viewer has a built-in export button that lets the user export the current report to the file format of their choice. Figure 19-1. The Export button on the Windows Report […]

19.01 Exporting Reports

Crystal Reports gives you two ways of delivering reports. The first way is exporting them to different formats and file types. For example, you could export reports as PDF or MS Word files. You could also export them as email attachments. The second way of delivering reports is by deploying them with your application. This […]

18.04 Server Side Modifications

Making Server Side Report Modifications The last section showed how the client is limited to using the viewer control for making runtime modifications. This doesn’t give you many options for making runtime modifications. But that doesn’t mean that it is impossible to make changes using the ReportDocument class. You just have to do it on […]

18.03 Client Side Modifications

Making Client Side Runtime Modifications Report web services can have a minor number of modifications made to them during runtime. As you learned in Chapter 14, the most flexible way to make runtime report modifications is by using the ReportDocument class. It is far more robust than the viewer control which only has a few […]

18.02 Consuming the Report Service

Consuming the Report Service The second part is creating an application to consume the report’s web service. To create an application that consumes the web service, open a new instance of the Visual Studio IDE and create a new Windows application (or an ASP.NET application). Add a CrystalReportViewer control to your form and bind it […]

18.01 Web Services

Creating reports as Report Web Services (RWS) enables you to deliver reports using SOAP via an HTTP protocol. There are no issues with worrying about the report being blocked by security or network constraints. There are two parts to viewing reports as a web service. The first part is to build the web service application […]

17.19 Caching Data

Caching Data If you are building an ASP.NET website, it is important to optimize the web server’s memory. Reports can be quite large, and when you have many users on the site then they can consume a lot of the server’s resources. You can optimize reports by caching them. This saves them to memory so […]

17.18 DLLs and DataSets

Reporting from DataSets in a DLL Crystal Reports also gives you the ability to report from DataSets that are within a separate DLL. In a multi-tier architecture, this lets you build reports directly from the data layer without having to write extra code to encapsulate the dataset in a local object variable. The steps for […]

17.17 DataReaders

Reporting from the DataReader Many people process data using the DataReader class and they want to run reports from it as well. Crystal Reports gives you the ability to do this. The DataReader class is another one of the many data types that can be passed to the SetDataSource() method. Using the DataReader as a […]