I have a combo box that has a data source as a one dimensional array because I am using Retrieve list to get data from an as400 file. I need to add an item so I converted it to a list. Now I need to add that item at the beginning or reverse the list. I am able to accomplish the above but when I insert, sort or reverse the list the combo box will display the member and value instead of just the Display member. If I take the insert, sort or reverse out it will go back to just displaying the member. If I use the add method on the list it just populates the list at the end, as expected. But with the add display member is the only thing that appears in the combo box. I have added an image below for a better understanding.
Dim location As String = "I"
Dim columns = M_METPCols.M_ETDS + M_METPCols.M_ETCD
'populate combo box in datagridview
Dim cboDescription As New DataGridViewComboBoxColumn
CBDescription.Tag = M_METPCols.M_ETDS
Dim Desc = TroubleContext.M_METP.Retr
olumns, M_METPExprs.M_EARL = "I")
******* below is were I am trying to sort ********************
Dim genericList As New List(Of Object)
r = "M_ETDS"
CBDescription.ValueMember = "M_ETCD"
CBDescription.DataSource = genericList
'Retrieve line number with signon name
MstLine = New DataContext(True)
Dim LineNumber = MstLine.M_MSTLIN.RetrieveI
MWC, M_MSTLINExprs.USER = cf.UserName)
'populate item combo box with the engine component issue
BOM = New DataContext(True)
BOM.Connect(cf.Server, cf.PortNumber, cf.Partition, cf.UserName, cf.Password)
Dim BOMList = BOM.M_MIIP.RetrieveList(M_
M_EMWC = LineNumber.ToString)
For a = 0 To BOMList.Count - 1
DESCS = BOMList(a).IMSD10