Combobox appear in the lable

condor

Member
Joined
Mar 11, 2006
Messages
20
Programming Experience
1-3
I have a program that has many tables ... one of them it's vendor table (vendorCode,VendorName) ... now in one of the froms i have a combobox that display all the vendorCode and i have a lable beside it... i need to know how i can let the vendor name appear in the lable when i choose the vendor Code from the combobox?

hope u reply


Regards
 
try this, double click the combobox to get the SelectedIndexChanged event

in this subroutine put lblYourLabel.text = CbxCombobox.item.selecteditem
 
Back
Top