I need to Messagebox the valuemember (dealerId) from the database
this is my code for populating:
Dim dt As New DataTable
Dim ds As New DataSet
Catch ex As MySql.Data.MySqlClient.MySqlException
ComboBox6.DataSource = dt
ComboBox6.DisplayMember = "dealerName"
ComboBox6.ValueMember = "dealerId"
if I messagebox combobox6.valuemember I get dealerId as a string in my message box
I need to get the numberic Id