November 2001
Intermediate to advanced
736 pages
16h 7m
English
The properties and events of the ListBox control are shown in Tables E.9 and E.10.
| Property | Description |
|---|---|
| DataMember | Gets or sets the specific table in the DataSource to bind to the control. |
| DataSource | Gets or sets the data source that populates the items of the list control. |
| DataTextField | Gets or sets the field of the data source that provides the text content of the list items. |
| DataTextFormatString | Gets or sets the formatting string used to control how data, bound to the list control, is displayed. |
| DataValueField | Gets or sets the field of the data source that provides the value of each list item. |
| Items | Gets the collection of items in the list control. |
| Rows | Gets or sets the number ... |
Read now
Unlock full access