private void BindValues() { string status = "LM.ListName = 'UserEmpStatus' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlStatus, "ListDesc", "ListValue", employee.GetBindData(status), "--Select--"); string position = "LM.ListName = 'UserEmpJobCd' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlPosition, "ListValue", "ListValue", employee.GetBindData(position), "--Select--"); string shift = "LM.ListName = 'UserEmpShift' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlShift, "ListDesc", "ListValue", employee.GetBindData(shift), "--Select--"); string pay = "LM.ListName = 'UserEmpPayCode' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlPayCode, "ListDesc", "ListValue", employee.GetBindData(pay), "--Select--"); string salutation = "LM.ListName = 'EmpDataSalutation' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlSalutation, "ListDesc", "ListValue", employee.GetBindData(salutation), "--Select--"); employee.BindListControls(ddlHireLocation, "Name", "Code", employee.GetLocationName(), "-- Select Location --"); employee.BindListControls(ddlPayrollLoc, "Name", "Code", employee.GetLocationName(), "--Select Loacation--"); }
private void BindValues() { string user = "******"; employee.BindListControls(ddlUserInterface, "ListDesc", "ListValue", employee.GetBindData(user), "--Select--"); string buyer = "LM.ListName = 'UserBuyerInd' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlBuyer, "ListDesc", "ListValue", employee.GetBindData(buyer), "--Select--"); string orders = "LM.ListName = 'UserApprOrdrInd' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlApproveOrders, "ListDesc", "ListValue", employee.GetBindData(orders), "--Select--"); string clerk = "LM.ListName = 'UserARClerkInd' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlARClerk, "ListDesc", "ListValue", employee.GetBindData(clerk), "--Select--"); string prompt = "LM.ListName = 'UserPrmryBinPrmpt' And LD.fListMasterID = LM.pListMasterID "; employee.BindListControls(ddlPrompt, "ListDesc", "ListValue", employee.GetBindData(prompt), "--Select--"); }