Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

WorksheetDataBindingCollection.BindTableToDataSource(Object, Int32, Int32, ExternalDataSourceOptions) Method

Creates a worksheet table with its top left corner at the specified cell and binds it to the data source using the specified options.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

WorksheetTableDataBinding BindTableToDataSource(
    object dataSource,
    int rowIndex,
    int columnIndex,
    ExternalDataSourceOptions options
)

Parameters

Name Type Description
dataSource Object

A data source object whose data should be retrieved into the worksheet.

rowIndex Int32

An integer that is the row index of the top left cell in the worksheet table.

columnIndex Int32

An integer that is the column index of the top left cell in the worksheet table.

options ExternalDataSourceOptions

An ExternalDataSourceOptions object that contains options used to establish binding.

Returns

Type Description
WorksheetTableDataBinding

A WorksheetTableDataBinding object that contains information about the data-bound worksheet table.

See Also