Exemplo n.º 1
0
        private void tabControl1_Selected(object sender, TabControlEventArgs e)
        {
            POInvoiceCrystalReport1Latest po = new POInvoiceCrystalReport1Latest();

            po.SetDataSource(ds);
            crystalReportViewer1.ReportSource = po;
        }
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            POInvoiceCrystalReport1Latest rpt = new POInvoiceCrystalReport1Latest();

            rpt.Site = this.Site;
            return(rpt);
        }