This project is read-only.

Combobox and Databinding

Mar 11, 2010 at 10:50 PM


I want to use a Combobox in a SourceGrid, width the Combobox datasource set to a IList. The property DisplayMember of Combobox is set to "Description" and the ValueMember to "ID". Both fields exists in the IList.

How can I show the data of this Combobox (DisplayMember)  in the SourceGrid cell and store the ValueMember (ID) when the user chooses a Combo Item.

I search the "net" for a similar examples but nothing.




Jorge Mota