private void button2_Click(object sender, EventArgs e) { var client = new ServiceReference1.Service1Client(); dataGridView1.DataSource = client.GetKlassen(); }