-
-
GrapeCity.Documents.Excel
-
- AsyncCustomFunction
- BaseCellType
- ButtonCellType
- CalcReference
- CellColorSortField
- CellDecoration
- CellDecorationIcon
- CellInfo
- CellPadding
- CheckBoxCellType
- CheckBoxListCellType
- ColorUtilities
- ComboBoxCellItem
- ComboBoxCellType
- CornerFold
- CsvOpenOptions
- CsvParseContext
- CsvParseResult
- CsvSaveOptions
- CustomBorderStyle
- CustomFunction
- DataImportOptions
- DataImportResult
- DataValidationJsonError
- DateTimeConverter
- DeserializationOptions
- DocumentProperties
- FindOptions
- FontColorSortField
- FormulaJsonError
- HtmlSaveOptions
- HyperLinkCellType
- IconSortField
- ImageSaveOptions
- ImageSource
- InvalidFormulaException
- InvalidTemplateException
- JsonDataSource
- JsonError
- LicenseManager
- Margin
- NumberFormatParseException
- OpenOptions
- OpenOptionsBase
- PageContentInfo
- PageInfo
- PagePrintedEventArgs
- PagePrintEventArgs
- PagePrintingEventArgs
- PageSettings
- Parameter
- PasteOption
- PdfSaveOptions
- PdfSecurityOptions
- PivotFilterOptions
- PrintManager
- PrintOutOptions
- RadioButtonListCellType
- RangeEventArgs
- RangeTemplateCellType
- RepeatSetting
- ReplaceOptions
- SaveOptions
- SaveOptionsBase
- SelectFieldItem
- SerializationOptions
- SheetEventArgs
- SignatureDetails
- SjsOpenOptions
- SjsSaveOptions
- SortFieldBase
- TextFormatInfo
- Theme
- Themes
- ValueSortField
- ViewerPreferences
- WebRequestResult
-
Workbook
-
- AddCustomFunction
- AddDataSource
- Calculate
- ConvertBarcodeToPicture
- Dirty
- FromJson
- FromSjsJson
- GenerateReport
- GetExcelLinkSources
- GetNames
- GetUsedFonts
- ImportData
- IsEncryptedFile
- Open
- PrintOut
- ProcessTemplate
- Protect
- Save
- SetLicenseKey
- ToJson
- ToSjsJson
- Unprotect
- UpdateExcelLink
- UpdateExcelLinks
- WaitForCalculationToFinish
-
- WorkbookOptions
- WriteProtection
- XlsmOpenOptions
- XlsmSaveOptions
- XlsxOpenOptions
- XlsxSaveOptions
- XltxOpenOptions
- XltxSaveOptions
-
- GrapeCity.Documents.Excel.Drawing
- GrapeCity.Documents.Excel.Expressions
- GrapeCity.Documents.Excel.Forms
-
GrapeCity.Documents.Excel
(Showing Draft Content)
GrapeCity.Documents.Excel.Workbook.AddDataSource
AddDataSource Method
AddDataSource(string, object)
Add data source for template.
Declaration
public void AddDataSource(string name, object dataSource)
Public Sub AddDataSource(name As String, dataSource As Object)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | the alias name of the data source. |
| object | dataSource | Can be object of DataSet, DataTable, Custom object and variable. |