|
-
Sep 2nd, 2003, 04:37 AM
#1
Thread Starter
Junior Member
combo box control
In vb 6 we have ItemData property for storing primarykeys while adding a list to a combo box using additems.
In vb.net what property i have to use to add primarykeys while displaying a list to the user.
or how can i display a list of names to the user and have the appropriate primarykeys in the combo box.
please reply to [email protected]
-
Sep 3rd, 2003, 06:03 AM
#2
Lively Member
Please take a look in your help..
Valuemember is the column from your dataset which gives the value (ID) and the displaymember is the column which will 'show' you the userfriendly values.
Selectedvalue returns you the current ID from the selected item.
HTH
Bjorn
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|