OK, time to get to the bottom of this problem...
I have a form with multiple controls bound to a dataview. One of these controls is a combobox, whose SelectedItem property is bound to the dataview.
I just set the datasource of the combobox to a different dataview, like so:
cboActivity.DataSource = activityDV
cboActivity.DisplayMember = "short_desc"
cboActivity.ValueMember = "parm_id"
When I do this, it seems to change the text of the bound field to "System.Data.DataRowView". Does anybody know why this is happening?
That's why I was just trying to load the combobox by using items.add. It worked fine when I did it that way, but I need the have a value in the SelectedValue property.
Thanks,
Mike