Back to Devexpress

WorksheetDataBindingCollection.BindTableToDataSource(Object, CellRange) Method

officefileapi-devexpress-dot-spreadsheet-dot-worksheetdatabindingcollection-dot-bindtabletodatasource-x28-system-dot-object-devexpress-dot-spreadsheet-dot-cellrange-x29.md

latest2.5 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
WorksheetTableDataBinding BindTableToDataSource(
    object dataSource,
    CellRange range
)
vb
Function BindTableToDataSource(
    dataSource As Object,
    range As CellRange
) As WorksheetTableDataBinding

Parameters

NameTypeDescription
dataSourceObject

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

TypeDescription
WorksheetTableDataBinding

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

|

See Also

Data Binding in WinForms Spreadsheet Control

Table

WorksheetTableDataBinding

DataBindings

Error

WorksheetDataBindingCollection Interface

WorksheetDataBindingCollection Members

DevExpress.Spreadsheet Namespace