2
Answers

How to Manaually Bind database information to a ComboBox.

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)