Results 1 to 2 of 2

Thread: combo box control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Location
    india
    Posts
    22

    Question 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]

  2. #2
    Lively Member
    Join Date
    Sep 2002
    Location
    Belgium
    Posts
    99
    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
  •  



Click Here to Expand Forum to Full Width