Sdílet prostřednictvím


Integrating Reporting Services Using the ReportViewer Controls

Microsoft Visual Studio 2005 provides two ReportViewer controls for integrating report viewing functionality into your applications. There is a version for Windows Forms-based applications and one for Web Forms applications. Each control provides similar functionality but each is designed to target their individual environments. Both controls can process reports that have been deployed to a report server (remote mode) or have been copied to a computer where Microsoft SQL Server Reporting Services has not been installed (local mode).

Remote Processing Mode

Remote processing mode is the preferred method for viewing reports that have been deployed to a report server. Remote processing mode provides the following advantages:

  • Remote processing provides an optimized solution for running reports because the report is rendered and processed by the report server.

  • Because all processing is handled by the report server, a report request can be processed by multiple report servers in a scale-out deployment or a server that has multiple processors in a scale-up scenario.

In addition, reports run in remote mode can utilize the full functionality of the report server including all rendering and data extensions.

Note

The list of extensions available to the ReportViewer control when it is running in remote mode depends on the edition of Reporting Services that is installed on the report server. For more information about available functionality, see Programming Features for Reporting Services Editions.

Local Processing Mode

Local processing mode provides an alternative method for viewing and rendering reports when Reporting Services is not installed. Unlike remote processing only a subset of the functionality provided by the report server is available in the control. In local mode, data processing is not handled by the control but rather implemented by the hosting application. However rendering of the report is handled by the control and processed on the client where the control is hosted. In local mode, only the PDF, Excel, and Image rendering extensions are available.

In This Section