DataGrid.getDataSource

Overview | Methods | Fields | This Package | All Packages

DataGrid.getDataSource

Retrieves the data source underlying the DataGrid control.

Syntax

public IDataSource getDataSource()

Return Value

Returns an object implementing the IDataSource interface that currently exposes the recordset that is bound to the DataGrid control. For more information, see setDataSource.

Remarks

To retrieve the bound member of the underlying data source, call getDataMember.