title: Listview Add Items not appearing C#
body: <p>I'm working on a small program as part of my A Level Computing course that is designed to track orders.  It is written in C# using the Windows Forms.</p>
  
  <p>I am having an issue where I enter all the information for a new order and then press OK and it should update the ListView with the information.  I have my ListView in Detail view with 4 columns but nothing ever gets added to the ListView.  The section of code that should add the items to the ListView is being executed and is not throwing any errors or causing the program to crash but nothing is being added.  Its weird because I am using the exact same method that I used in my little prototype mock up but for some reason now it is not working.</p>
  
  <p>All the things I've found on here or on the internet seem to suggest its an issue with the View mode of the ListView and I've tried modifying this property to no avail.</p>
  
  <p>Any ideas why this section of code is refusing to add anything to the ListView?</p>
  
  <pre><code>            //Create an array to store the data to be added to the listbox
              string[] orderDetails = { Convert.ToString(id + 1), rNameBox.Text, dateBox.Value.ToString(), orderBox.Text };
  
              //DEBUGGING
              Console.WriteLine(orderDetails[0]);
              Console.WriteLine(orderDetails[1]);
              Console.WriteLine(orderDetails[2]);
              Console.WriteLine(orderDetails[3]);
              //END DEBUGGING
  
              //Add the order info to the ListView item on the main form
              var listViewItem = new ListViewItem(orderDetails);
              ths.listView1.Items.Add(listViewItem);
  </code></pre>
  
  <p>If you need any more information just say.  Apologies if this is in the wrong format or something this is my first time here.</p>