N
Nathan Carroll
Problems with Combobox. When I bind like below. I am unable to use bm. But
as soon as I take the binding of the Combobox out bm works as it should.
bm = God.BindingContext(God.DataSet11.CodeLibrary)
With Me
.LanguageProgramID.DataBindings.Add(New
System.Windows.Forms.Binding("SelectedValue", God.DataSet11,
"CodeLibrary.LanguageProgramID"))
.LanguageProgramID.DataSource = God.DataSet11.tblLanguage
.LanguageProgramID.DisplayMember = "LanguageProgram"
.LanguageProgramID.ValueMember = "LanguageProgramID"
End With
as soon as I take the binding of the Combobox out bm works as it should.
bm = God.BindingContext(God.DataSet11.CodeLibrary)
With Me
.LanguageProgramID.DataBindings.Add(New
System.Windows.Forms.Binding("SelectedValue", God.DataSet11,
"CodeLibrary.LanguageProgramID"))
.LanguageProgramID.DataSource = God.DataSet11.tblLanguage
.LanguageProgramID.DisplayMember = "LanguageProgram"
.LanguageProgramID.ValueMember = "LanguageProgramID"
End With