Interface

WebDataSource


Description

Provides the methods needed to create a data source to use with WebListBox.

Methods

Name

Parameters

Returns

Shared

ColumnData

WebListBoxColumnData

RowCount

Integer

RowData

RowCount As Integer, RowOffset As Integer, SortCollumns As String

WebListBoxRowData

SortedPrimaryKeys

sortedColumns As String

Integer()

UnsortedPrimaryKeys

Integer()

Method descriptions


WebDataSource.ColumnData

ColumnData As WebListBoxColumnData

Returns an array of objects that describe the columns requested.


WebDataSource.RowCount

RowCount As Integer

Returns the number of rows in the current dataset.


WebDataSource.RowData

RowData(RowCount As Integer, RowOffset As Integer, SortCollumns As String) As WebListBoxRowData

Returns an array of objects that describe the requested rows.


WebDataSource.SortedPrimaryKeys

SortedPrimaryKeys(sortedColumns As String) As Integer()

Returns the primary keys for the entire table displayed based upon the sorted columns.


WebDataSource.UnsortedPrimaryKeys

UnsortedPrimaryKeys As Integer()

Returns the primary keys in default order for the entire table displayed.

Notes

The data source you create via the WebDataSource interface lets you create a generic way to populate the data for a WebListBox.

Compatibility

Web projects on all supported operating systems.

See also

WebListBox control, WebListBoxColumnData, WebListBoxRowData classes.