Skip to main content
Row

WorksheetDataBindingCollection.BindTableToDataSource(Object, CellRange) Method

Creates a worksheet table from the specified range and binds it to the data source using default options.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

WorksheetTableDataBinding BindTableToDataSource(
    object dataSource,
    CellRange range
)

Parameters

Name Type Description
dataSource Object

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

range CellRange

A CellRange object specifying the range of the worksheet table being created.

Returns

Type Description
WorksheetTableDataBinding

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

See Also