private void button1_Click(object sender, EventArgs e) { if (Mainlist.SelectedItems.Count > 0) { ListViewItem item = Mainlist.SelectedItems[0]; var vis = SQLDoc.GetHisL(Int32.Parse(item.SubItems[0].Text)); { textBox1.Text = vis.First().Result; //wyn textBox2.Text = vis.First().Comments_Man_Lab; //kom m textBox9.Text = vis.First().Comments_Doctor; //kom l } } }