Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
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.v20.2.Core.dll

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