title: VB.NET: Storing ListView Data On Selecting Each Row
body: <p>I have a listview and its first column is Class ID.</p>
  
  <p>On ListView1_SelectedIndexChanged, that is on selecting each row, I want the variable ClassID to Store the value of Class ID.</p>
  
  <p>What is the code that I have to use?</p>
  
  <p>I tried ClassID = ListView1.Items.subitems(0).text, but it doesn't work.</p>