Link to home
Start Free TrialLog in
Avatar of grwallace
grwallace

asked on

First line in a combo box replaced by system.data.datarowview

I have a copbo box which loads everything OK, but after the first click on the combo the first entry is replaced with system.data.datarowview unless you click on the first item in which case it stays OK.

Any ideas?
Avatar of kaufmed
kaufmed
Flag of United States of America image

What does the code to load the ComboBox look like?
Avatar of grwallace
grwallace

ASKER

The datasource, displaymember & valuemember are set at design time - there are no assignments in code

The datssource is set as a bindingsource and the selecteditem and selectedvalue are set to fields from the bindingsource, as are in valuemember & displaymember fields.
What does the DisplayMember declaration look like?
It is Description1, a field which is picked from the DisplayMember dropdown which shows the table to which the Bindingsource is bound
ASKER CERTIFIED SOLUTION
Avatar of grwallace
grwallace

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found my own solution