private void Window_Loaded(object sender, RoutedEventArgs e) { dtaVeiculos.ItemsSource = VeiculoDAO.ListarVeiculos(); dtaVeiculos.DisplayMemberPath = "Nome"; dtaVeiculos.SelectedValuePath = "Id"; }