public void loadGrid() { try { subjectImpl = new SubjectImpl(); dgvSub.ItemsSource = null; dgvSub.ItemsSource = subjectImpl.Selectasd(course).DefaultView; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void loadGrid() { subjectImpl = new SubjectImpl(); dgvDatos.ItemsSource = null; dgvDatos.ItemsSource = subjectImpl.SelectSpecificTeacherSubject(Session.SessionID).DefaultView; }
private void dgvSub_Loaded(object sender, RoutedEventArgs e) { subjectImpl = new SubjectImpl(); btnSelectSubject.Content = subjectImpl.Selectasd(course).Rows.Count.ToString(); }