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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private void formPreviewSO_Load(object sender, EventArgs e)
        {
            PreviewSalesOrder rep = new PreviewSalesOrder();

            rep.SetDatabaseLogon("export", "import", "orcl", "");
            rep.SetParameterValue("ID_SO", form.id_so);
            crystalReportViewer.ReportSource = rep;
        }