2
Reply

How to Manaually Bind database information to a ComboBox.

Pelumi Eluyera

Pelumi Eluyera

Mar 27 2015 8:22 AM
670
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.

Upload Source Code  Select only zip and rar file.
Answers (2)