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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void btnXem_Click(object sender, EventArgs e)
        {
            ReportDanhSachDongHocPhiCuaLop obj = new ReportDanhSachDongHocPhiCuaLop();

            string lenh = "EXEC sp_INDANHSACHDONGHOCPHICUALOP '" + cmbLop.SelectedValue.ToString().Trim() + "', '" +
                          cmbNienKhoa.Text + "', " + cmbHocKy.Text;

            DataTable dataTable = Program.ExecSqlDataTable(lenh);

            obj.SetDataSource(dataTable);
            obj.SetParameterValue("TENLOP", cmbLop.Text);
            obj.SetParameterValue("NIENKHOA", cmbNienKhoa.Text);
            obj.SetParameterValue("HOCKY", cmbHocKy.Text);

            crvDanhSachDongHocPhiCuaLop.ReportSource = obj;
        }