Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27350

VS 2008 [RESOLVED] Binding datasource to a combobox issue

$
0
0
Hi!

I'm stuck again in my project.
I have a ComboBox.
I have set up and running a Data Source from a table in a local Access Database table.
The datasource has only one table, two columns, id and name.

I opened the form designer, selected my ComboBox (which is in a GroupBox, if that matter).
Then I went to the Properties of the ComboBox and opened the settings for DataBindings.
Selected the title from the datasource for Selected item and id for the selected value.

In my opinion this should work, but it doesn't. If I select the Preview Data when selecting my datasource in Data Sources window, then I get a list of the data that I want, but my ComboBox does not populate. Have a missed a step? I don't find the code of the selected DataBinding in my forms code, it appears only in the autogenerated "form".Designer.vb file.

Andy

Viewing all articles
Browse latest Browse all 27350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>