Hi,

I use a combobox to show username, the property
DisplayMember is the username and ValueMember is the userID.

In the combobox's SelectedIndexChanged event, I do some checking by accessing the SelectedValue property.

When I run my program, during initialize stage, I found that the SelectedValue property will return a {System.Data.DataRowView} instead of the actual value, and cause my program to fail.

Is there anything I need to take care? Currently, I just use a boolean flag to control the checking inside the event.

Thx!