CrystalReportViewer 类
提供修改或检索有关 CrystalReportViewer 控件如何显示和起作用的信息的属性、方法和事件。
有关该类型所有成员的列表,参见 CrystalReportViewer 成员。
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
CrystalReportViewer
[Visual Basic]
Public Class CrystalReportViewer Inherits UserControl Implements IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IContainerControl, ICrystalReportViewer
[C#]
public class CrystalReportViewer : UserControl, IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IContainerControl, ICrystalReportViewer
备注
CrystalReportViewer 控件允许在应用程序中查看 Crystal 报表。ReportSource 属性用于设置要查看哪个报表。该属性设置之后,报表将显示在 CrystalReportViewer 控件中。报表源可以是 ReportDocument、报表文件的路径,也可以是强类型报表。
有关使用 CrystalReportViewer 控件的更多信息,请参见 Report Viewers 和 Project Setup,查看如何创建 Windows 项目。
示例
要求
命名空间 CrystalDecisions.Windows.Forms
程序集 CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)
请参见
CrystalReportViewer 成员 | CrystalDecisions.Windows.Forms 命名空间
©2005 Business Objects SA 保留所有权利。
Business Objects SA http://www.china.businessobjects.com/ 支持服务 http://www.china.businessobjects.com/ |