private void buttonAdd_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count != 0 && listView5.SelectedItems.Count != 0) { int SendListID = int.Parse(listView5.SelectedItems[0].Text); string Personcode = listView1.SelectedItems[0].Text; BusinessManager.AddAlumnusSenList(SendListID, Personcode); ShowAlumnsAtMailinglist(); } }