示例#1
0
        /// <summary>
        /// Lists all modules in the selected course
        /// </summary>
        private void GetModuleAccess()
        {
            BusinessServices.Unit objUnit = new BusinessServices.Unit();
            int       intCourseID         = int.Parse(this.cboCourse.SelectedValue);
            DataTable dtbModules          = objUnit.GetModuleAccess(this.m_intUnitID, intCourseID);

            //this.grdModules.DataSource = dtbModules;
            //this.grdModules.DataBind();

            this.rptModuleList.DataSource = dtbModules;
            this.rptModuleList.DataBind();
        }