public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ProductReport rpt = new ProductReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        public ProductForm(DataTable dt)
        {
            InitializeComponent();

            ProductReport cr = new ProductReport();

            cr.SetDataSource(dt);
            crystalReportViewer1.ReportSource = cr;
        }