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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 public frmBaoCaorpt(DateTime Ngay)
 {
     InitializeComponent();
     BCDoanhThuTheoThoiGian report = new BCDoanhThuTheoThoiGian();
     report.SetDataSource(select_PhieuThuTheoNgay(Ngay));
     crvReport.ReportSource = report;
     report.SetParameterValue("TenCongTy", "công ty trách nhiệm hữu hạn một thành viên hungvv");
     report.SetParameterValue("DiaChiCongTy", "thành phố hà nội thật đẹp");
     report.SetParameterValue("DienThoai", "01686825827");
     report.SetParameterValue("FaxCongTy", "01686825827");
     report.SetParameterValue("Web", "www.google.com.vn");
     report.SetParameterValue("TenBaoCao", "Báo Cáo Hàng Hóa Theo Ngày");
     report.SetParameterValue("NgayTao", DateTime.Now);
     report.SetParameterValue("MaNhanVien", "NV_0001");
     report.SetParameterValue("Email", "*****@*****.**");
     crvReport.Show();
 }
Example #3
0
        public frmBaoCaorpt(int Thang, int Nam)
        {
            InitializeComponent();
            BCDoanhThuTheoThoiGian report = new BCDoanhThuTheoThoiGian();

            report.SetDataSource(select_PhieuThuTheoThang(Thang, Nam));
            crvReport.ReportSource = report;
            report.SetParameterValue("TenCongTy", "công ty trách nhiệm hữu hạn một thành viên hungvv");
            report.SetParameterValue("DiaChiCongTy", "thành phố hà nội thật đẹp");
            report.SetParameterValue("DienThoai", "01686825827");
            report.SetParameterValue("FaxCongTy", "01686825827");
            report.SetParameterValue("Web", "www.google.com.vn");
            report.SetParameterValue("TenBaoCao", "Báo Cáo Hàng Hóa Theo Ngày");
            report.SetParameterValue("NgayTao", DateTime.Now);
            report.SetParameterValue("MaNhanVien", "NV_0001");
            report.SetParameterValue("Email", "*****@*****.**");
            crvReport.Show();
        }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     BCDoanhThuTheoThoiGian rpt = new BCDoanhThuTheoThoiGian();
     rpt.Site = this.Site;
     return rpt;
 }