public HtmlSelect FillCoursePart(string UniID, string InstID, string CrMoLrnPtrnID, string CrPart)
        {
            DataTable dtCp = new DataTable();

            //dtCp = CourseRepository.coursewiseCourseParts(CrMoLrnPtrnID);
            dtCp = InstituteRepository.Get_AllCoursePartOnly(UniID, InstID, CrMoLrnPtrnID);
            HtmlSelect hCrPart = new HtmlSelect();

            hCrPart.ID = CrPart;
            hCrPart.Attributes.Add("class", "selectbox");
            hCrPart.Attributes.Add("onchange", "setCrPart(this.value);");
            clsCommon common = new clsCommon();

            common.fillDropDown(hCrPart, dtCp, "", "Text", "value", "---- Select ----");
            dtCp.Dispose();
            return(hCrPart);
        }