views:

21

answers:

1

i have list of entities and i need to bind it to a datagrid...one of the properties in the list is a collection and i need to bind that to an combo box within a datagrid..i am new to windows forms...

var list = (from p in db.persons select new person{p.firstname,p.lastname,p.phonenumbers}).tolist()

i need phone numbers bound to a combo box column which is like a perferred phone number for the person. person can change their phone number from their list of provided phone numbers...how can i track this change in ef4...please guide me with any articles or examples..

A: 

Please see the sample code with ComboBox in the DataGrid here: http://www.gotdotnet.ru/files/download/109/

MrZoidberg