c# - listView.Items.Contains with DateTime/String? -
How do I check if date is a list or string in a list view?
I have tried
to
to > system .Windows.Forms.ListViewItem
.
list view 1. ITEMS.Compatible (newtimeType.Now))
will not work contains it
works only when we are actually in the ListView.Items
collection Are passing an item. I think you have to use the loop: (
foreach (list view in list view list 1.Items) {if (s.Text! = SetAlarm.Value.ToString ()) Is released; MsgBox. ("Found:" + set alarms.valle.tostring ()); return;}
Comments
Post a Comment