I have created a dropdown control and a text box control in my infopath form. I am binding some values to the dropdown control from a sql database with "value" field as "@ID" and "Display name" as "@Name"
Now, when the user select the dropdown the display name should be auto-populated in the textbox I created, not the "@ID" value.
How to achieve this.