Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / Workbook Class / AddDataSource Method
the alias name of the data source.
Can be object of DataSet, DataTable, Custom object and variable.
In This Topic
    AddDataSource Method (Workbook)
    In This Topic
    Add data source for template.
    Syntax
    public void AddDataSource( 
       System.string name,
       System.object dataSource
    )

    Parameters

    name
    the alias name of the data source.
    dataSource
    Can be object of DataSet, DataTable, Custom object and variable.
    See Also