private void buttonladen_Click(object sender, EventArgs e) { DTO dto = new DTO(); dataGridView1.DataSource = dto.GetAllCustomers(); }
private void button_anzeigen_Click(object sender, RoutedEventArgs e) { DTO dto = new DTO(); dataGrid.ItemsSource = dto.GetAllCustomers(); }