Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            RolController Rol   = new RolController();
            List <string> lista = Rol.consultarRoles(Rol.modelo);

            select_roles.Items.Clear();
            Permisos = Rol.Permisos();
            for (int i = 0; i < lista.Count; i++)
            {
                select_roles.Items.Add(lista[i]);
            }
        }