What should I use instead? I've tried DataBindings.Add , but my data were not loaded I have data structure with 3 properties: ID, Name and e.g. Description. I want to load the whole data to the list, but to show only Name property. Usually I use DisplayMember for this purpose, but I here I couldn't find it.
Sorry, I was talking about DisplayMember, usually such controls have it, but in my case I have only DataBindigns and DisplayRectangle
Ivri
2009-11-26 22:08:22
http://msdn.microsoft.com/en-us/library/system.windows.forms.checkedlistbox.displaymember.aspx
Jacob Seleznev
2009-11-26 22:16:35
A:
Also from MSDN
Note: You cannot bind data to a CheckedListBox. Use a ComboBox or a ListBox for this instead. For more information, see How to: Bind a Windows Forms ComboBox or ListBox Control to Data.
Jacob Seleznev
2009-11-26 22:21:21