>I have a combobox bound to a dataset retrieved from table A. When the user selects an item, I store the SelectedValue to another table, say table B. The next time the app is run, I want that saved item displayed in the combo. How do I make this happen?That's the normal way ComboBoxes work. You accomplish this with databinding. ComboBoxes have "complex" binding ... IOW, they have a DataSource (and DisplayMember and ValueMember) that shows up in the Combo's dropdown. But, you also need to databind the SelectedValue to something else in order to save it:
MyCombo.DataSource = ds.Tables["TableA"];
MyCombo.DisplayMember = "description";
MyCombo.ValueMember = "code";
MyCombo.DataBindings.Add("SelectedValue", ds.Tables["TableB"], "MyCode");
~~Bonnie