コード例 #1
0
        public void Initialize()
        {
            DataView oDV = new DataView();

            Data.getAllUserTypes(out oDV);
            UserTypeList = ControlHelper.GetSelectList(oDV, cUserTypeID, cUserTypeName);
        }
コード例 #2
0
        public void Initialize()
        {
            UserTypeList  = ApplicationHelper.GetUserTypesList();
            UserLevelList = ApplicationHelper.GetUserLevelsList();

            UserTypeSelectList  = ControlHelper.GetSelectList(UserTypeList, cUserTypeID, cUserTypeName);
            UserLevelSelectList = ControlHelper.GetSelectList(UserLevelList, cUserLevelID, cUserLevelName);
        }
コード例 #3
0
 public void GetUserLevels(string UserTypeID)
 {
     UserLevelSelectList = ControlHelper.GetSelectList(UserLevelList.Where(x => x.UserTypeID == UserTypeID), cUserLevelID, cUserLevelName);
 }