Bill,
Dim dtIDA As New DataTable
dtIDA.Columns.Add("IDA", GetType(System.String))
dtIDA.Columns.Add("Description")
dtIDA.LoadDataRow(New Object() {"FQ", "Faqs"}, True)
dtIDA.LoadDataRow(New Object() {"DX", "DirextX"}, True)
dtIDA.LoadDataRow(New Object() {"LK", "Links"}, True)
dtIDA.DefaultView.Sort = "Description"
lstTitles.DataSource = dtIDA.DefaultView
lstTitles.DisplayMember = "Description"
lstTitles.ValueMember = "IDA"
Do you mean something as above
I hope this helps,
Cor
"bill" <be****@datamti.com> schreef in bericht
news:u7**************@TK2MSFTNGP03.phx.gbl...
Please direct me to a source which will explain how to populate a listbox
with retrievable values.
For example, I would like to display the customer name from the customer
table, but store the Customer ID which is available when an customer is
selected from the listbox.
Thanks