title: Change text of a listview
body: <p>I have a quick question about listView's and how check if a ListView (which contains null items) has a certain string?</p>
  
  <p>Here is the code which add to sepcific items (under column 5 in the listView). It basically checks if that item appears in Google search or not. If it does, it'll write yes to that specific row, if not it'll leave it blank:</p>
  
  <pre><code>string google2 = http.get("https://www.google.com/search?q=" + textBox1.Text + "");
                  string[] embedid = getBetweenAll(vid, "type='text/html' href='http://www.youtube.com/watch?v=", "&amp;amp;feature=youtube_gdata'/&gt;");
  
                  for (int i = 0; i &lt; embedid.Length; i++)
                  {
  
                      if (google2.Contains(embedid[i]))
                      {
                          listView1.Items[i].SubItems.Add("Yes");
                          }
                      }
  </code></pre>
  
  <p>Now what I am trying to do is check if that certain column contains items that say Yes. If it does color them Green if not don't.</p>
  
  <p>Here's the code for that: </p>
  
  <pre><code> if (i.SubItems[5].Text.Contains("Yes"))
                          {
                              labelContainsVideo.ForeColor = System.Drawing.Color.Green;
                          }
  </code></pre>
  
  <p>My issue is I keep getting an error that says <code>InvalidArgument=Value of '5' is not valid for 'index'.</code></p>
  
  <p>My hunch is that there are null items in column 5 which might be messing it up but I dont know. </p>
  
  <p>Any idea on how to fix this?</p>