hi
how can i add data value of each item to combobox in visual basic 2010.
like html drop-down box.
or is there anyway to add values to each item ?
i am adding item from mysql database like this
Command = New MySqlCommand("SELECT * FROM `maillist` WHERE l_id = '" & id & "'", connection)
Command.CommandTimeout = 30
Reader = Command.ExecuteReader()
If Reader.HasRows = True Then
While Reader.Read()
ComboBox1.Items.Add(Reader("name"))
End While
End If
i need to add Reader("ID")
as value of each item...
thx