How come checkedlistbox does not have datasource ? how to bind to a list of values?
I am developing a Winform and I need a checkedlistbox. I have the values stored in an object which has a List property: public static class Fields { public static IList<string> FieldList { get; set; } static Fields() { ...//populate FieldList } } Now I would like my CheckedListBox to use Fields.FieldList as datasource. After searching online I found I needed to set //in myForm_Load mycheckedListBox.DataSource = Fields.FieldList; But myCheckedListBox does not have a DataSource property. Am I missing something here? Per the documentation, it should have this property... http://msdn.microsoft.com