private void fillcmbEstadoUsuario() { DataTable lDtEstado = new DataTable(); ControlDePacientes.Dal.Estados lEstados = new Estados(); lDtEstado = lEstados.GetEstadoByTipoEstado(1); AddRowComboBox(lDtEstado); cmbEstado.ItemsSource = lDtEstado.DefaultView; cmbEstado.SelectedValuePath = "IdEstado"; cmbEstado.DisplayMemberPath = "EstadoName"; cmbEstado.SelectedIndex = 0; }