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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            DataTable    dt = hdbll.select_hoadon_tenhangvssl(dptNgaybatdau.Value, dptNgaykethuc.Value);
            rpthongkerpt rp = new rpthongkerpt();

            rp.SetDataSource(dt);
            Form2Thongke frmTK = new Form2Thongke();

            frmTK.crystalReportViewer1.ReportSource = rp;
            frmTK.ShowDialog();
        }