Skip to main content
All docs
V26.1
  • Row

    CellRange.GetDataSource() Method

    Creates the data source from the current cell range.

    Namespace: DevExpress.Spreadsheet

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

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    object GetDataSource()

    Returns

    Type Description
    Object

    An object that specifies the created data source.

    Remarks

    Another method that creates the data source from a worksheet range is the WorksheetDataBindingCollection.CreateDataSource method. It creates a worksheet data binding and adds it to the collection. To obtain a data source associated with a particular binding, use the WorksheetDataBinding.DataSource property.

    See Also