Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ProductReport rpt = new ProductReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        public ProductForm(DataTable dt)
        {
            InitializeComponent();

            ProductReport cr = new ProductReport();

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