title: getting row data from bindingsource bound to listbox
body: <p>I have a listbox like so:</p>
  
  <pre><code>list.DataSource = bindingSource;
  list.DisplayMember = "column_name";
  </code></pre>
  
  <p>Later I would want to get the selected item's <code>ID</code> from the <code>DataSet</code> with <code>bindingSource.Current</code>. I've done this before with <code>bindingNavigator</code> and <code>bindingSource</code>, where <code>Current</code> returns a <code>DataRowView</code>, so I can cast it and I'm done:</p>
  
  <pre><code>Int32.Parse(((DataRowView)bindingSource.Current)["id"].ToString())
  </code></pre>
  
  <p>But in this case <code>Current</code> returns a <code>DataViewManagerListItemTypeDescriptor</code> object, and I can't cast it.</p>
  
  <p>Any thoughts will be appreciated!</p>
  
  <p>Daniel</p>