borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Percentage in listbox)Next Topic (Random Number Generator.) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Combobox
Poster Message
elgy
Level: Scholar

Registered: 20-07-2005
Posts: 42

icon Combobox

How to make vb to create combobox able to do something like this in html??

<select name="Name">
<option value={some_id}>{some_name}</option>
<option value={some_id}>{some_name}</option>
<option value={some_id}>{some_name}</option>
</select>

my goal is make combobox in vb to store the {id} of the {some_name},
so if i change the combobox the program knows that the {some_name} i selected is connected to the {id},
because the {some_name} is not unique.
and the {id} is not shown to the user

28-05-2007 at 02:00 PM
View Profile Send Email to User Show All Posts | Quote Reply
yronium
Level: Moderator


Registered: 14-04-2002
Posts: 907
icon Re: Combobox

Hello. Have a look at combo's ItemData property on the Help. And then perform a search in the forums for "ItemData" in order to find some sample code blocks, as we have spoken several times about it.
Hope it helps.

____________________________
Real Programmer can count up to 1024 on his fingers

28-05-2007 at 05:42 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Combobox
Previous Topic (Percentage in listbox)Next Topic (Random Number Generator.) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder