I have a combobox which is filled with a drop down of different colours.
I can already save the Selected index of a combobox (Colours) to a database.
I am having troubles displaying what I have already in the Database to the User/ Application.
i cant seem to figure it out.
Any help regarding how to get the information from the saved data back to the User/ Applicaion will be appreciated.
regards
Loading
Pelumi EluyeraPosted Mar 27, 2015, 6:01 PM
//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"));
Abhay ShankerPosted Mar 27, 2015, 2:15 PM
Abhay ShankerPosted Mar 27, 2015, 2:15 PM