ListBox Control, BoundColumn Property Example
The following example demonstrates how the BoundColumn property influences the value of a ListBox. The user can choose to set the value of the ListBox to the index value of the specified row, or to a specified column of data in the ListBox.
To use this example, copy this sample code to the Declarations portion of a form. Make sure that the form contains:
- A ListBox named ListBox1.
- A Label named Label1.
- Three OptionButton controls named OptionButton1, OptionButton2, and OptionButton3.
|