Jump to content

[2008] Small Help

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
JaTochNietDan

JaTochNietDan

    Newbie

  • Members
  • Pip
  • 1 posts
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.

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


#2
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Could you be a little more specific? So far, your code displays the selected bike in the text box. What do you want to do from here?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums