public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rpDoanhThu rpt = new rpDoanhThu();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void MH_ReportView_BaoCaoDanhThu_Load(object sender, EventArgs e)
        {
            string MaPhong = TruyenDuLieuManHinh.MaPhong;
            string Thang   = TruyenDuLieuManHinh.Thang;



            DataTable baocao = new DataTable();

            baocao = xl.PhieuCaoBaoDanhThu(Thang);

            //foreach(DataRow row in baocao.Rows)
            //{
            //    MessageBox.Show(row["TiLe"].ToString());
            //}

            rpDoanhThu rp = new rpDoanhThu();

            rp.SetDataSource(baocao);

            CrytalViewBaoCao.ReportSource = rp;
        }