title: Getting System.Data.DataRowView while getting value from ComboBox
body: <p>I'm trying to get data from database according to the item selected in the <code>ComboBox</code> but when I try to access the selected <code>ComboBox</code> item it gives me "System.Data.DataRowView" [...?]</p>
  
  <p>I did the same thing with a simple select query in another function and that works fine but I don't know why it doesn't work in this query:</p>
  
  <pre><code>_dataAdapter.SelectCommand.CommandText = "SELECT lt.Name FROM Leader as lt LEFT JOIN Material as mt ON lt.Student_id=mt.lead_id where lt.Name=" + "'" + cmbLeader.SelectedItem.ToString() + "'";
  </code></pre>
  
  <p>Can anybody tell me what might be the problem?</p>