CheckedListBox databinding shows nothing

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
Back
Top