private void CboMonth_SelectionChanged(object sender, SelectionChangedEventArgs e) { try { grid8112.ItemsSource = ClsPEZAData.Get8112formListByMonth(Convert.ToInt16(cboMonth.SelectedValue.ToString().Trim()) , Convert.ToInt16(cboYear.SelectedItem.ToString().Trim())).DefaultView; } catch { } }
private void PopulateList() { grid8112.ItemsSource = ClsPEZAData.Get8112formListByMonth(Convert.ToInt16(cboMonth.SelectedValue.ToString().Trim()) , Convert.ToInt16(cboYear.SelectedItem.ToString().Trim())); }