Hello all. I am new to VB and VB.NET. I am working on displaying a lookup table in a combobox or a listbox in VB.NET. Is there any way to assign the index of the control to the primary key value in the table. I know there has to be some way to do it. Right now, I have a public array that holds the index value and the matching primary key and I have to find the selectedindex in the array to retrieve the primary key. There has to be a better way than that. Any suggestions? Thanks for the help!
Randy Belcher
Randy Belcher
AFG Industries, Inc.