DataGridViewComboBoxColumn and entity framework....

Mark Nicholls <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <LISTSERV%[email protected]>
Has anyone got this to work?

DataGridView are unpleasant things that don't tell you what the problem
is...

I've used the Microsoft Course Sample, and ammended the Department field
to be a DataGridViewComboBoxColumn...

bind it to a Department binding source.

I'm then given a Display member...which is fine...Name.

Then the value member.....ahhh....Department doesn't seem to be in the
list....and if I use DepartmentID it gets upset....probably quite sensibly.

Any ideas....?

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.