display member and value member in conbobox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kosal
    New Member
    • Feb 2007
    • 68

    display member and value member in conbobox

    Dear All

    I would like you to help as bellow :
    I have one table(bID, bPNR, bPaxName) and i need to show bPaxName as Display Member and bID as Value Member.

    Please help me to write code for this problem.

    thank and Best Regard
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    On a combobox?
    You could
    1.) Configure a datasource on the combobox (better) or
    2.) Write the code to load the combobox yourself and set the list items' Value and Text properties.

    Comment

    • Kosal
      New Member
      • Feb 2007
      • 68

      #3
      can you give me the example code for it.

      Comment

      Working...