Get the Value Member

How to Fill and Get the Value Member of a ListBox in Visual Basic 2008 and MS Access Database

Submitted by janobe on
This time, I’m going to teach you how to fill and get the value member of a ListBox by using Visual Basic 2008 and MS Access Database. With this tutorial, you can fill the data to the ListBox that came from the Database and get its Id by clicking the name that shows in the ListBox. Let’s begin: Open the Visual Basic 2008 and create a new Windows Form Application. Drag a button and a ListBox in the Form.