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

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -