private void LoadButton_Click(object sender, EventArgs e) { Table1.Rows.Clear(); Service1Client client = new Service1Client(); Car[] a = client.load(); for(int i=0; i<a.Length; i++) { Table1.Rows.Add(); Table1.Rows[i].Cells[0].Value = a[i].manufacturer; Table1.Rows[i].Cells[1].Value = a[i].model; Table1.Rows[i].Cells[2].Value = a[i].dat.ToLongDateString(); Table1.Rows[i].Cells[3].Value = a[i].volume.ToString(); Table1.Rows[i].Cells[4].Value = a[i].power.ToString(); Table1.Rows[i].Cells[5].Value = a[i].trancemission.ToString(); } MessageBox.Show("Информация из БД загружена"); }