Public Class Form1 Private Sub BikesBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BikesBox.SelectedIndexChanged TextBox1.Text = BikesBox.SelectedItem() End Sub End Class
[2008] Small Help
Started by JaTochNietDan, Apr 26 2008 07:55 AM
1 reply to this topic
#1
Posted 26 April 2008 - 07:55 AM
Hard to explain sorry couldn't think of the right topic intro, well what I want it to do is return an ID of the car(I can write out the IDS manually) when you select something in the textbox, I was wondering how it can be done, is there a way to make a list like "NRG-500,502" or something like that, Nameofmodel,ID? Anyway here is the code I have made for it to return a string which works perfectly.
|
|
|


Sign In
Create Account

Back to top









