예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptInsumos rpt = new rptInsumos();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
 public frmRptInsumos(DataTable _Insumos)
 {
     InitializeComponent();
     Reportes.rptInsumos reporte = new Reportes.rptInsumos();
     reporte.SetDataSource(_Insumos);
     this.crystalReportViewer1.ReportSource = reporte;
     this.crystalReportViewer1.RefreshReport();
 }