Ejemplo n.º 1
0
    private void fillUserLevels()
    {
        tblUserLevels levels = new tblUserLevels();

        levels.LoadAll();

        do
        {
            if (levels.UserLevelId >= UserContext.GetContextItemAsInt("userlevel"))
            {
                ddUserLevel.Items.Add(new ListItem(levels.UserLevelTitle, levels.UserLevelId.ToString()));
            }
        } while (levels.MoveNext());
    }
Ejemplo n.º 2
0
    private void fillUserLevels()
    {
        tblUserLevels levels = new tblUserLevels();
        levels.LoadAll();

        do
        {
            if (levels.UserLevelId >= UserContext.GetContextItemAsInt("userlevel"))
            {
                ddUserLevel.Items.Add(new ListItem(levels.UserLevelTitle, levels.UserLevelId.ToString()));
            }
        } while (levels.MoveNext());
    }