foreach(string itemtext in scheduleListView.Items) // change it to subitems or as needed.