Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IWorkbook Interface / AddDataSource Method
the alias name of the data source.
Can be object of DataSet, DataTable, Custom object and variable.
In This Topic
    AddDataSource Method (IWorkbook)
    In This Topic
    Add data source for template.
    Syntax
    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