Exemple #1
0
        //private void loadRoles()
        //{
        //    comboBoxRol.DisplayMember = "rol_descripcion";
        //    comboBoxRol.ValueMember = "rol_id";
        //    comboBoxRol.DataSource = WorkUser.getAllRoles();
        //}

        public void loadUsers()
        {
            dgwUsers.DataSource = WorkUser.getAllUsers();
        }