ComboBox Data Binding to Database

  • Thread starter Thread starter maxshiner
  • Start date Start date
M

maxshiner

Guest
I am trying to Bind a combobox to database table (REMAXCLASSIC). I create a REMAXCLASSICdataset Capture one shows the form. The columns contained in the table are shown on left. The combobox is associated with agentname. I select the combobox and expand the smart tag, then check the Use Data Bound Items which opens the DataBinding Mode. Then I select the drop down beside Data Source and select Agents Binding Source (Agents is table included in REMAXCLASSICDataset). Then under selected value I select agentname under AgentBinding source

When I run the solution, the information shows up correctly on the form (see Capture two). When I try to select another agentname, I get the following error. (See capture three).

How do I wire this combobox up?

262cf6622303996f003c1257ec186e96._.png


b9be0a0698cfee58e72d22f312b0386f._.png





Thanks
8f6fef4036760f64723b20f11c3d1ecf._.png


Continue reading...
 
Back
Top