title: Listview - adding data
body: <p>So, trying to use the ListView and fill it with data.</p>
  
  <pre><code>ListViewItem item = new ListViewItem("Test");
  item.SubItems.Add("1");
  item.SubItems.Add("2");
  MyListView.Items.Add(item);
  </code></pre>
  
  <p>Now, I haven been searching and reading and I feel so stupid cause I just can't figure out how the items/subitems work.</p>
  
  <p>The above code won't do anything :/</p>
  
  <blockquote>
  <pre><code>       foreach (Ingredient o in list)
          {
              ListViewItem lvi = new ListViewItem();
  
              lvi.Text = o.iName;
              lvi.SubItems.Add(o.iUnit);
              lvi.SubItems.Add(Convert.ToString(o.iCalories));
              listView1.Items.Add(lvi);
  
          }
  </code></pre>
  </blockquote>
  
  <p>It works now, BUT, I no longer have access to the items.
  How do I know get back an item, or change stuff in an item?</p>