D
Dianna K
Hi,
I am trying to set the value of the a combobox with a
field from a dataset. It will not set.
Me.cboTypeDesc.Text = DsTitle.Tables("Title").Rows(0).Item
("genre_description")
or
index = cboTypeDesc.FindStringExact(DsTitle.Tables
("Title").Rows(0).Item("genre_description"))
Me.cboGenre.SelectedIndex = index
Is there something wrong with the above? The combo box is
being filled via a datasource (displayMember, valueMember).
Any help would be great,
Thanks, Dianna
I am trying to set the value of the a combobox with a
field from a dataset. It will not set.
Me.cboTypeDesc.Text = DsTitle.Tables("Title").Rows(0).Item
("genre_description")
or
index = cboTypeDesc.FindStringExact(DsTitle.Tables
("Title").Rows(0).Item("genre_description"))
Me.cboGenre.SelectedIndex = index
Is there something wrong with the above? The combo box is
being filled via a datasource (displayMember, valueMember).
Any help would be great,
Thanks, Dianna