public int ID { get { return id; } set { id = value; } }
listviewitem = new ListViewItem(); //here should be the ID listviewitem.SubItems.Add(contact.FirstName); listviewitem.SubItems.Add(contact.LastName); listviewitem.SubItems.Add(phone.Home); listviewitem.SubItems.Add(phone.Mobile); listviewitem.SubItems.Add(address.Country); listviewitem.SubItems.Add(address.ZipCode); listviewitem.SubItems.Add(address.City); listviewitem.SubItems.Add(address.Street); listviewitem.SubItems.Add(email.Personal); this.listView1.Items.Add(listviewitem);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)