Back to Devexpress

WorksheetDataBindingCollection.BindTableToDataSource(Object, Int32, Int32) Method

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

latest2.8 KB
Original Source

WorksheetDataBindingCollection.BindTableToDataSource(Object, Int32, Int32) Method

Creates a worksheet table with its top left corner at the specified cell 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,
    int rowIndex,
    int columnIndex
)
vb
Function BindTableToDataSource(
    dataSource As Object,
    rowIndex As Integer,
    columnIndex As Integer
) As WorksheetTableDataBinding

Parameters

NameTypeDescription
dataSourceObject

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.

|

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

Worksheet.DataBindings

WorksheetDataBindingCollection.Error

TableCollection.Add

WorksheetDataBindingCollection Interface

WorksheetDataBindingCollection Members

DevExpress.Spreadsheet Namespace