Hello Lakshmi,
Setting DisplayDesc attribute to True iscorrect way. However, in some cases you may have to set the property manually in code by writing "myComboBox.Item.DisplayDesc = true;" under the OnInitializeComponent() class to trigger the property.
Also about your examples. User Code won't display User Nameas description because they are two different fields. They don't have Value/Description relationship between each other. To display the User Name you have to add another TextBox and bind it.
And note that Value and Description are attributes of a single column. When you set DisplayDesc attribute to True for a TextBox orComboBox this means that item will be displaying the Description of the bounded DataSource field.
Best Regards,
Atilla