Hello,
In my form I have a combobox bound through a table adapter to a SQL Server stored proc. OnLoad the combobox initializes great, and I can select items from the dropdown that on SelectionChangeCommitted display in the combobox.text correctly, but the top item in the dropdown list (item 0) changes to the selected text and overwrites the first item.
After I use a button_Click procedure fill a second table adapter based on the combobox.text, selecting items in the combobox causes them to display only "System.Data.DataRowView" instead of the text that was there before. Nothing should be affecting the combobox, but something changes.
Bruce.GetTableAdapter2.Fill(Me.MyDataSet.MyStoredProc2, Me.MyComboBox.Text)
In my form I have a combobox bound through a table adapter to a SQL Server stored proc. OnLoad the combobox initializes great, and I can select items from the dropdown that on SelectionChangeCommitted display in the combobox.text correctly, but the top item in the dropdown list (item 0) changes to the selected text and overwrites the first item.
After I use a button_Click procedure fill a second table adapter based on the combobox.text, selecting items in the combobox causes them to display only "System.Data.DataRowView" instead of the text that was there before. Nothing should be affecting the combobox, but something changes.
Me.GetTableAdapter1.Fill(Me.MyDataSet.MyStoredProc1)
Bruce.GetTableAdapter2.Fill(Me.MyDataSet.MyStoredProc2, Me.MyComboBox.Text)