Home All Groups Group Topic Archive Search About

proposedValue contains displayMember instead of valueMember

Author
31 Mar 2005 8:11 AM
Markus Hilf
Hi newsgroup
i definitely need some help on this issue:

I added a combobox in a datagrid. After updating the value in that combobox
I want to trigger further processing. To catch the update event I defined a
ColumnChanged event for the datagrid. Everything seems to work fine except
this:
The value the system uses for the event argument in e.ProposedValue(ByVal e
As System.Data.DataColumnChangeEventArgs) is the display member of my
combobox which makes no sense of course, as I need the value member.
Any help will be appreciated.
Thanx in advance

Markus Hilf

Author
31 Mar 2005 10:05 AM
Cor Ligthert
Markus,

There is no standard combobox for a datagrid, I myself use two inherrited
types depending if I need relations or not. Therefore it is in my opinion
very difficult to give help in a newsgroup about your question.

Cor