title: Get SelectedItems from database fed ListBox
body: <p>I need to get values from selected items from listbox which is binding from database. But if I try </p>
  
  <pre><code>listBoxAtribute.SelectedItems[0].ToString()
  </code></pre>
  
  <p>it returns <code>System.Data.DataRowView</code></p>
  
  <p>Is there any way to convert Data from <code>DataRowView</code> to <code>string</code>?</p>
  
  <p>My idea looks like this:</p>
  
  <pre><code>for(int i = 0; i &lt; listBoxAtribute.SelectedItems.Count; i++)
  {
    MessageBox.Show(listBoxAtribute.SelectedItems[i].Tostring);
  }
  </code></pre>
  
  <p>Thanks a lot for any reply.</p>