ReportViewer Class
Encapsulates the methods and properties used for the ReportViewer control.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
<DockingAttribute(DockingBehavior.Ask)> _
<DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", GetType(IDesigner))> _
Public Class ReportViewer
Inherits UserControl
'Usage
Dim instance As ReportViewer
[DockingAttribute(DockingBehavior.Ask)]
[DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IDesigner))]
public class ReportViewer : UserControl
[DockingAttribute(DockingBehavior::Ask)]
[DesignerAttribute(L"Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IDesigner))]
public ref class ReportViewer : public UserControl
/** @attribute DockingAttribute(DockingBehavior.Ask) */
/** @attribute DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IDesigner) */
public class ReportViewer extends UserControl
DockingAttribute(DockingBehavior.Ask)
DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IDesigner)
public class ReportViewer extends UserControl
Remarks
This control shows the report and its associated user interface. The control’s design time appearance can show a parameters area, a blank document map, a toolbar, and a report area.
The control is able to work in either local or remote processing mode. In local processing mode, the control processes and renders the report locally. In remote processing mode, processing is done on a report server and displayed locally. The remote processing mode requires a Microsoft SQL Server 2005 instance of report server.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Microsoft.Reporting.WinForms.ReportViewer
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.