WebListBox is enhanced with data binding to data source control capability.
This topic will show you how to bind DataSource to WebListBox.
To bind DataSource to WebListBox
- Right-click on WebListBox control and choose Properties.
- Go to DataSourceID and create new data source.
- Choose Access Database to use AccessDataSource control.
- Choose any database you want to bind, such as Northwind.mdb.
- Go to WebListBox's Properties. You need to set some properties in order to bind
data from AccessDataSource to WebListBox like following.
- Run the project.