示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReportProduct rpt = new CrystalReportProduct();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void 报表预览ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CrystalReportProduct ccrp = new CrystalReportProduct();

            ccrp.SetDataSource(dataset.Tables[0]);
            CReprotFrm crfrm = new CReprotFrm(ccrp);

            crfrm.Show();
        }
示例#3
0
 public CReprotFrm(CrystalReportProduct crp)
 {
     InitializeComponent();
     crystalReportViewer1.ReportSource = crp;
 }