title: VB.Net Bind ComboBox to DataTable
body: <p>I'm having some trouble binding a <code>combobox</code> to a <code>datatable</code>. It appears that the query runs, but the <code>combobox</code> only displays <strong>System.Data.DataRowView</strong>. I've read a couple other questions about this same issue, but I haven't been able to nail down a solution yet.</p>
  
  <pre><code>Public Function GetSiteNames()
  Dim dtSiteNames As DataTable = New DataTable("Sites")
  
  Using con As New OleDbConnection
      con.ConnectionString = sDbConnString
      con.Open()  'Open the connection
  
      Using dad As New OleDbDataAdapter(sQuery, con)
          dad.Fill(dtSiteNames)
      End Using
  
  End Using 
  
  Return dtSiteNames
  
  End Function
  </code></pre>
  
  <p>I'm trying to bind this to a combobox in my main form like this:</p>
  
  <pre><code>    With cmboSelectSite
          .DisplayMember = "Sites"
          .ValueMember = "Sites"
          .DataSource = cQ_PLDB.GetSiteNames
      End With
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>