Classe ReportViewer
Incapsula le proprietà e i metodi utilizzati per il controllo ReportViewer.
Spazio dei nomi: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Sintassi
'Dichiarazione
<DockingAttribute(DockingBehavior.Ask)> _
<SRDescriptionAttribute("ReportViewerDescription")> _
<DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", GetType(IDesigner))> _
Public Class ReportViewer
Inherits UserControl
'Utilizzo
Dim instance As ReportViewer
[DockingAttribute(DockingBehavior.Ask)]
[SRDescriptionAttribute("ReportViewerDescription")]
[DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.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=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IDesigner))]
public ref class ReportViewer : public UserControl
/** @attribute DockingAttribute(DockingBehavior.Ask) */
/** @attribute SRDescriptionAttribute("ReportViewerDescription") */
/** @attribute DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IDesigner) */
public class ReportViewer extends UserControl
DockingAttribute(DockingBehavior.Ask)
SRDescriptionAttribute("ReportViewerDescription")
DesignerAttribute("Microsoft.Reporting.WinForms.ReportViewerDesigner, Microsoft.ReportViewer.Design, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", System.ComponentModel.Design.IDesigner)
public class ReportViewer extends UserControl
Note
Questo controllo consente di visualizzare il report e l'interfaccia utente associata. In fase di progettazione esso contiene un'area dei parametri, una mappa documento vuota, una barra degli strumenti e un'area del report.
È possibile utilizzare il controllo in modalità di elaborazione locale o remota. Nella prima modalità, l'elaborazione e il rendering del report vengono eseguiti a livello locale. Nella seconda modalità, l'elaborazione viene eseguita in un server di report e la visualizzazione avviene a livello locale. Per la modalità di elaborazione remota è necessaria un'istanza di Microsoft SQL Server 2005 del server di report.
Gerarchia di ereditarietà
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
Protezione dei thread
Qualsiasi membro statico pubblico (Condiviso in Visual Basic) di questo tipo presenterà la protezione dei thread. Non è garantito che qualsiasi membro di istanza presenterà la protezione dei thread.
Vedere anche
Riferimento
Membri ReportViewer
Spazio dei nomi Microsoft.Reporting.WinForms