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";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top