Click here to Skip to main content
15,886,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guys,

i would like to know what when wrong with the codes, i am working on select a combobox bumpers, the label text should automatically appear instead of a button click..

any helps?? thanks!!

VB
If cmbpart.SelectedItem = "Bumpers" Then
            Txtpartdp.Text = "A metal/rubber bar attached to either end of the car"
            TxtPtCost.Text = "$1000"(
            Txtptsp.Text = "$800"
            Txtptloc.Text = "Japan"
Posted

1 solution

Use Combobox events, for example: SelectedIndexChanged[^] event.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900