title: How can be find selected index value of listBox
body: <p>I have loaded datatable to listview.Now when i try to do a selected index and retrieve data to display in respective text box. I find some error "input string format incorrect".
  but when i directly load from folder it works fine.</p>
  
  <p>When i try to trace the error ---</p>
  
  <ol>
  <li><p>Data that retrieved from Datatable.Im not able to find the index of the row.</p></li>
  <li><p>But from folder and listed in ListView.Index value is found.</p></li>
  </ol>
  
  <p>So far:</p>
  
  <pre><code>Dim breakfast As ListView.SelectedListViewItemCollection = Me.LOV.SelectedItems
   For Each item1 In breakfast
              index += Double.Parse(item1.SubItems(1).Text)
   Next
  </code></pre>