Databinding to a Checked Listbox?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Thanks for reviewing this question. I would like to know if you can
databind a dataset to a checkedlist box? Do not see a Datasource property.
However, I do see a databinding with SelectedItemValue and SelectedItemIndex.
I am not sure how to use them.

Many Thanks
Peter
 
I got it.

chklstbxCategories.DataSource = this.dsTSLeagues1;
chklstbxCategories.DisplayMember = "tblIMAGECATEGORIES.NAME";
 
Back
Top