combobox bindings

  • Thread starter Thread starter Grant
  • Start date Start date
G

Grant

Ive set my combobox properties as follows:

comboBox1.DataSource = dataset1.ScheduleType;
comboBox1.DisplayMember = "name";
comboBox1.ValueMember = "id";
comboBox1.DataBindings.Add("Selectedvalue", this.dataset1,
"Agency.ScheduleType");

I have two tables here. Combo box is selecting from table2 its value
according to what I have selected in table1. The problem is it doesnt update
the value in table1when I do a an update on my dataadapter.

Can anyone give me a link or sample code or anything that explains how to do
this simple thing. I cant find anything that works.

Thanks,
Grant
 
hi
it should be a small part that you are missing , would you post your code
that is relevant to this
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Back
Top