Is there any way to assign a primary key id to a member of a listbox. I am getting my data from a database and want to assign each line in my listbox with it's corresponding id so that I can later on access the correct record in the database.

I have done this in VB6 using itemdata and newindex but can't seem to find a comparable method in VB.net.

Does anyone know how to do this?

Thanks