Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crHoaDon rpt = new crHoaDon();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void HoaDon_Load(object sender, EventArgs e)
        {
            crHoaDon invoice = new crHoaDon();

            invoice.SetParameterValue("ThoiGianLap", thoiGianLap);
            invoice.SetParameterValue("TongTien", tongTien);
            crystalReportViewer1.ReportSource = invoice;
        }