If I understood the question correctly what you should do is either enumerate the choices in you combo box or fetch them from the database and include the key value already generated in the database. Now this key value would be used in your other command parameters. If this is forms for example, use the
ValueMember[
^] property to assign the key value to a combo box item.