ComboBox - VB.NET(smart device)

tofuyan

Member
Joined
Mar 16, 2005
Messages
8
Programming Experience
Beginner
Hi,
Can i know how to show the display of text and picture when i select one of the item from the comboox?

eg: inside the combobox there are 4 items
  • bag
  • pen
  • ruler
  • pencil
what if i select pen? I wan the description of pen and the picture of pen to show through database?
Any sample? need help?

Thank you!
 
Select Case ComboBox.Text
Case Is = "bag"
'do bag stuff
Case Is = "pen"
'do pen stuff
Case Is = "ruler"
'do ruler stuff
Case Is = "pencil"
'do pencil stuff
End Select

or

SQLselectionVariable = ComboBox.Text
'execute your load procedure
 
Back
Top