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

            rpt.Site = this.Site;
            return(rpt);
        }
Ejemplo n.º 2
0
        private void btViewBill_Click(object sender, EventArgs e)
        {
            DataTable dt = HoaDonDAO.GetAllHoaDon(String.Format("{0:MM/dd/yyyy}", dtpkNgayBatDau.Value), String.Format("{0:MM/dd/yyyy}", dtpkNgayKetThuc.Value));

            GUI.Report.DoanhThuReport report = new GUI.Report.DoanhThuReport();
            report.SetDataSource(dt);
            DoanhThuViewer.ReportSource = report;
        }
Ejemplo n.º 3
0
 public ReportViewer(DoanhThuReport doanhThu, int demo)
 {
     InitializeComponent();
     this.doanhThu = doanhThu;
     MessageBox.Show("Đang xuất báo cáo doanh thu");
 }