void loadValues() { List <Bast> blist = AttendanceBLL.GetAllBasts(); uxBast.DataSource = blist; uxBast.DataBind(); List <Qadam> qlist = AttendanceBLL.GetQadams(); uxQadam.DataSource = qlist; uxQadam.DataBind(); List <DEPARTMENT> dlist = AttendanceBLL.GetDepartments(); uxDefaultDeptID.DataSource = dlist; uxDefaultDeptID.DataBind(); List <Gender> glist = AttendanceBLL.GetGenders(); uxGender.DataSource = glist; uxGender.DataBind(); List <Status> slist = AttendanceBLL.GetStatuses(); uxStatus.DataSource = slist; uxStatus.DataBind(); List <Zone> zlist = AttendanceBLL.GetZones(); uxZoneName.DataSource = zlist; uxZoneName.DataBind(); //List<object> vlist = new List<object>(); //List<object> elist = new List<object>(); //for (int i = 1; i <= 100; i++) //{ // vlist.Add(new { ID = i, Text = i }); // if (i <= 20) // { // elist.Add(new { ID = i, Text = i + " years" }); // } //} //uxBast.DataSource = CMSBLL.GetBastList(); //uxBast.DataBind(); //uxVacant.DataSource = vlist; //uxVacant.DataBind(); //uxStatus.DataSource = CMSBLL.GetStatusList(); //uxStatus.DataBind(); //uxExperience.DataSource = elist; //uxExperience.DataBind(); //uxEducationDegree.DataSource = CMSBLL.GetEducationList(); //uxEducationDegree.DataBind(); //uxLocation.DataSource = CMSBLL.GetLocationList(1); //uxLocation.DataBind(); //uxNationality.DataSource = CMSBLL.GetNationalityList(); //uxNationality.DataBind(); //uxGender.DataSource = CMSBLL.GetGenderList(); //uxGender.DataBind(); //uxFA.DataSource = CMSBLL.GetFunctionalAreaList(); //uxFA.DataBind(); //uxStudyField.DataSource = CMSBLL.GetStudyFieldList(); //uxStudyField.DataBind(); //uxShortlistCriteria.DataSource = CMSBLL.GetAttributesList(); //uxShortlistCriteria.DataBind(); }