private void CargarRoles() { try { cboRol.DataSource = N_Usuarios.Seleccionar(); cboRol.ValueMember = "codigo"; cboRol.DisplayMember = "nombre"; } catch (Exception ex) { MessageBox.Show(ex.Message + ex.StackTrace); } }