Scenario: I am in the process of moving an application from access to C# and on one of the forms(in access) the user is able to select a drop down that has 3 columns (ID, FirstName, LastName). Once they select from the list the ID is displayed on the drop down.
Question: Is it possible to recreate this functionality using a combo box? What alternatives can you suggest?
EDIT:
Dropdown is on the top left, a text box is next to it that uses the name from the last two columns of the dropdown
EDIT 2:
Since the multiple columns arent feasible is there a way to specify mutiple displaymembers to show up on the dropdown instead? For Example: ID - FirstName LastName
Currently a employee object is being added to the dropdown with those properties. I tried setting display member to
cmbEmp.DisplayMember ="EmployeeID " + "FirstName " + "LastName";
but that doesn't. Should I scrap using the employee object and just make a SQL call grabbing those concatenated together? I was attempting to reuse some code (I was given this project halfway through its completion) but it may not be feasable.