private void CboOs_SelectionChanged(object sender, SelectionChangedEventArgs e) { estoque = null; int id = Convert.ToInt32(cboOs.SelectedValue); estoque = EstoqueDAO.BuscarListaDeSaidaPorID(id); dtGridEstoqueSaida.ItemsSource = estoque; }