private void PopulateMonthAndYear() { cboMonth.ItemsSource = ClsPEZAData.GenerateMonth().DefaultView; cboYear.Items.Clear(); for (int i = DateTime.Now.Year; i >= 2000; i--) { cboYear.Items.Add(i.ToString()); } cboMonth.SelectedValue = DateTime.Now.Month; cboYear.SelectedItem = DateTime.Now.Year.ToString(); }