could not bind to new display member. Parameter name: newDisplayMember
Posted on 2004-09-13
I have this function that is supposed to work fine.
Somehow it does not
It gives me error and the combobox has a datarowview for each record.
Solution is a definate 'A'
Private Sub loadNewInvestors()
'Load data for new investor list.
Dim ssSQL As String
ssSQL = "ssInvestorsGetList"
Dim ssCon As SqlConnection = New SqlConnection(eRampConnStr)
Dim ssCmd As SqlCommand = New SqlCommand(ssSQL, ssCon)
Dim ssDa As SqlDataAdapter = New SqlDataAdapter(ssCmd)
Dim loanListDs As DataSet = New DataSet
newInvestor.DataSource = loanListDs
newInvestor.ValueMember = "company"
newInvestor.DisplayMember = "orgId"
Catch ex As Exception