ndeniche 402 Posting Virtuoso Featured Poster

Hello mates

I've got a database with tables for Job Department and Job position. Every Positions has a respective Department assigned by the id.

So, when the user selects a Department, the program deploys into the combobox the values of the Positions assigned to that department. The thing is, the position id is not ordered.

If I use the Add() method to add an item, and send the KeyValuePair(Of Integer, String) of each position, when opening the dropdown, it shows me the list as [1, description_pos_1], [2, description_pos_2], etc.

How do I store the key value into the combobox without showing it in the items list?