コード例 #1
0
        public frpVenda(DataTable data)
        {
            InitializeComponent();
            cr = new crVenda3();
            cr.Load(Application.StartupPath + "\\crVenda3.rpt");

            cr.SetDataSource(data);
            crystalReportViewer1.ReportSource = cr;
            crystalReportViewer1.RefreshReport();
        }
コード例 #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     crVenda3 rpt = new crVenda3();
     rpt.Site = this.Site;
     return rpt;
 }