共用方式為


Integrating Reporting Services Using the ReportViewer Controls

新增: 2006 年 7 月 17 日

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.

Aa337090.note(zh-tw,SQL.90).gif附註:
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

Topic Description

Using the WinForms ReportViewer Control

Describes how to use the WinForms ReportViewer control to view reports in a Windows application.

Using the WebForms ReportViewer Control

Describes how to use the WebForms ReportViewer control to view reports in a Web application.

請參閱

概念

Integrating Reporting Services into Applications

其他資源

Visual Studio 中的 Reporting Services 和 ReportViewer 控制項

說明及資訊

取得 SQL Server 2005 協助