Pelumi Eluyera

Pelumi Eluyera

  • NA
  • 24
  • 9.1k

How to Manaually Bind database information to a ComboBox.

Mar 27 2015 8:22 AM
I am struggling to bind my combobox  Manually. 

i am already able to save to the database. but the information is not being retrieved back to the App. 

Here is the code I have tried . 

//Declare at the top
BindingSource tblSchedulerBS = new BindingSource ();


//declared in a button
tblSchedulerBS.DataSource = new datasetNumber1.TBL_Appointments [0];

cmbBackground.Databinding.Add (new Binding ("ComboBox", tblScheduleBS, "cmbBackground"));



Any help will be appreciated.

Answers (2)