private void BindGraduation() { BALDropDownList DDL = new BALDropDownList(); DataTable dtGraduation = HRMWcfService1.BALDropDownList.GraduationList(); drpBranchOfStudy.DataSource = dtGraduation; drpBranchOfStudy.DataTextField = "DegreeType"; drpBranchOfStudy.DataValueField = "DegreeID"; drpBranchOfStudy.DataBind(); drpBranchOfStudy.Items.Insert(0, new ListItem("---Select Graduation In---")); }
private void BindRelation() { BALDropDownList DDL = new BALDropDownList(); DataTable dtRelation = HRMWcfService1.BALDropDownList.Relation(); drpRelation.DataSource = dtRelation; drpRelation.DataTextField = "RelationType"; drpRelation.DataValueField = "RelationID"; drpRelation.DataBind(); drpRelation.Items.Insert(0, new ListItem("---Select Relation---")); }
private void BindDomain() { BALDropDownList DDL = new BALDropDownList(); DataTable dtDomain = HRMWcfService1.BALDropDownList.JobDomain(); DrpDomain.DataSource = dtDomain; DrpDomain.DataTextField = "JobDomainType"; DrpDomain.DataValueField = "JobDomainID"; DrpDomain.DataBind(); DrpDomain.Items.Insert(0, new ListItem("---Select Job Domain---")); }
private void BindDoctorate() { BALDropDownList DDL = new BALDropDownList(); DataTable dtDoctorate = HRMWcfService1.BALDropDownList.DoctorateList(); drpBranchOfStudy.DataSource = dtDoctorate; drpBranchOfStudy.DataTextField = "DoctorateType"; drpBranchOfStudy.DataValueField = "DoctorateID"; drpBranchOfStudy.DataBind(); drpBranchOfStudy.Items.Insert(0, new ListItem("---Select Doctorate In---")); }
private void BindCountry() { BALDropDownList DDL = new BALDropDownList(); DataTable dtCountry = HRMWcfService1.BALDropDownList.CountryList(); DrpCountry.DataSource = dtCountry; DrpCountry.DataTextField = "CountryName"; DrpCountry.DataValueField = "CountryID"; DrpCountry.DataBind(); DrpCountry.Items.Insert(0, new ListItem("---Select Country---")); }
private void BindRole() { BALDropDownList DDL = new BALDropDownList(); DataTable dtDesignation = HRMWcfService1.BALDropDownList.DesignationList(); DrpRole.DataSource = dtDesignation; DrpRole.DataTextField = "DesignationType"; DrpRole.DataValueField = "DesignationID"; DrpRole.DataBind(); DrpRole.Items.Insert(0, new ListItem("---Select Designation---")); }
private void BindDepartment() { BALDropDownList DDL = new BALDropDownList(); DataTable dtDepartment = HRMWcfService1.BALDropDownList.Department(); ddlDepartment.DataSource = dtDepartment; ddlDepartment.DataTextField = "DepartmentType"; ddlDepartment.DataValueField = "DepartmentID"; ddlDepartment.DataBind(); ddlDepartment.Items.Insert(0, new ListItem("---Select Department---")); }
private void BindNationality() { BALDropDownList DDL = new BALDropDownList(); DataTable dtNationality = HRMWcfService1.BALDropDownList.Nationality(); ddlNationality.DataSource = dtNationality; ddlNationality.DataTextField = "NationalityType"; ddlNationality.DataValueField = "NationalityID"; ddlNationality.DataBind(); ddlNationality.Items.Insert(0, new ListItem("---Select Nationality---")); }
private void BindLeaveType() { BALDropDownList DDL = new BALDropDownList(); DataTable dtLeaveType = HRMWcfService1.BALDropDownList.LeaveType(); drpLeaveType.DataSource = dtLeaveType; drpLeaveType.DataTextField = "LeaveType"; drpLeaveType.DataValueField = "LeaveID"; drpLeaveType.DataBind(); drpLeaveType.Items.Insert(0, new ListItem("---Select Leave Type---")); }
private void BindNIO() { BALDropDownList DDL = new BALDropDownList(); DataTable dtNIOType = HRMWcfService1.BALDropDownList.NIOType(); ddlNIO.DataSource = dtNIOType; ddlNIO.DataTextField = "NIOType"; ddlNIO.DataValueField = "NIOID"; ddlNIO.DataBind(); ddlNIO.Items.Insert(0, new ListItem("---Select NIO Type---")); }
private void BindLoanAdvances() { BALDropDownList DDL = new BALDropDownList(); DataTable dtLoanAdvances = HRMWcfService1.BALDropDownList.LoanAdvance(); drpLoanAdvance.DataSource = dtLoanAdvances; drpLoanAdvance.DataTextField = "LoanType"; drpLoanAdvance.DataValueField = "LoanID"; drpLoanAdvance.DataBind(); drpLoanAdvance.Items.Insert(0, new ListItem("---Select Loan/Advance Type---")); }