CheckedListBox databinding shows nothing

G

Guest

In VS2003 I just assign DataSource to the DataSet column and CheckedListBox
was displaying what I wanted. It was just one line of code.

In VS2005 a property DataSource is deprecated. I tried to bind using:

chkLstBox.DataBindings.Add(“SelectedValueâ€, myDS.Tables("tbl1"), “f1â€)

and nothing is displaying. I tried a BindingSource between them – nothing.

How to bind CheckedListBox to DataSet?
 

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

Top