启动 Crystal Report 2010 For VS2010

来源:互联网 发布:淘宝客鹊桥pid 编辑:程序博客网 时间:2024/05/29 18:11

 

说明:

      Crystal Reports for .NET Framework 4.0

引用:

        CrystalDecisions.CrystalReports.Engine,CrystalDecisions.ReportSource,CrystalDecisions.Shared,CrystalDecisions.Windows.Forms

 

建立报表(CrystalReport.rpt)之后、启动运行:    

        report.SetDataSource(ds)                 '设置 REPORT 的数据源为添加的数据集(Dataset)   DATATABLE---DATASET1----CRYSTALREPORT1

        FrmReport.CrystalReportViewer1.ReportSource = report    'Crystal 的 DataSource 是一个数据集
        FrmReport.CrystalReportViewer1.ShowFirstPage()             'Show First Page

 

运行库:

     CRRuntime_32bit_13_0_1.msi

原创粉丝点击