title: C# grab text from first item in listview in Details view
body: <p>I have a listview (in Details view) that is filled dynamically. I want to grab the text from the the first item in the listview.
  This code doesn't work</p>
  
  <pre><code>lstSalesppl.Items[0].Selected = true;
  string teamLeader = lstSalesppl.SelectedItems[0].Text;
  </code></pre>
  
  <p>I get an error on the second line: Invalid argument=Value of '0' is not valid for 'index' however the same code works in another method when the listview item is double clicked</p>
  
  <p>Can anyone tell me what I'm doing wrong?</p>
  
  <p>Thanks</p>