What's specified in DisplayMember is the data column name, not a property
name. Therefore, should work for untyped datasets as well.
> As I said, it is an untyped DataSet, and therefore the CustomerID property
> available with a Typed DataSet is not available here.
[quoted text clipped - 33 lines]
>> > the
>> > ComboBox populated fine. I Ran it again, broken again. Most baffling.
Dundealing - 25 May 2006 18:44 GMT
I understand that the value needed for the DisplayMember is a column name,
but if the Dataset is untyped you need to access the table in a fashion like
this:
Me.Ds.Tables("Groups")
whereas when you create a typed dataset, the tables, columns and rows become
properties of the DataSet and you can access them like this:
Me.ds.Groups
This syntax would not work with an untyped DataSet.
> What's specified in DisplayMember is the data column name, not a property
> name. Therefore, should work for untyped datasets as well.
[quoted text clipped - 36 lines]
> >> > the
> >> > ComboBox populated fine. I Ran it again, broken again. Most baffling.