In fact saying that I can't (out of the box) get a DataGridViewTextCell
to work correctly either, it displays the class name...i.e. the default
ToString()....and there is no option to set which property to display.

Irratatingly I can't find any entity frameworks samples that I can
download...even when I follow the link on the MS web site, the sample
code does not exist where they claim it does.


> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Nicholls, Mark
> Sent: 05 September 2008 13:26
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: [ADVANCED-DOTNET] DataGridViewComboBoxColumn and entity
> framework....
> 
> 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(r)  http://www.develop.com
> 
> View archives and manage your subscription(s) at
> http://discuss.develop.com



CONFIDENTIALITY NOTICE

This e-mail (and any attached files) is confidential and protected by 
copyright (and other intellectual property rights). If you are not the 
intended recipient please e-mail the sender and then delete the email and 
any attached files immediately. Any further use or dissemination is 
prohibited.

While MTV Networks Europe has taken steps to ensure that this email and 
any attachments are virus free, it is your responsibility to ensure that 
this message and any attachments are virus free and do not affect your 
systems / data.

Communicating by email is not 100% secure and carries risks such as delay, 
data corruption, non-delivery, wrongful interception and unauthorised 
amendment. If you communicate with us by e-mail, you acknowledge and 
assume these risks, and you agree to take appropriate measures to minimise 
these risks when e-mailing us. 

MTV Networks International, MTV Networks UK & Ireland, Greenhouse, 
Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions 
International and Comedy Central are all trading names of MTV Networks 
Europe.  MTV Networks Europe is a partnership between MTV Networks Europe 
Inc. and Viacom Networks Europe Inc.  Address for service in Great Britain 
is UK House, 180 Oxford Street, London W1D 1DS, UK.

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

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to