Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            AllReport rpt = new AllReport();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        public AllOrders(int reportType)
        {
            InitializeComponent();
            DataTable dt = GetReportFromDS(reportType);

            AllReport cr = new AllReport();

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