Creates a data source reading a Microsoft Excel file.
Namespace:
InfigoSDKAssembly: InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static IInfigoDataSource CreateExcelDataSource( string strFile, string strWorksheet, bool bHeader, InfigoDataSourceFactory..::.ExcelType type ) |
Visual Basic (Declaration) |
---|
Public Shared Function CreateExcelDataSource ( _ strFile As String, _ strWorksheet As String, _ bHeader As Boolean, _ type As InfigoDataSourceFactory..::.ExcelType _ ) As IInfigoDataSource |
Visual C++ |
---|
public: static IInfigoDataSource^ CreateExcelDataSource( String^ strFile, String^ strWorksheet, bool bHeader, InfigoDataSourceFactory..::.ExcelType type ) |
Parameters
- strFile
- Type: System..::.String
The path to the Excel file.
- strWorksheet
- Type: System..::.String
The name of the Excel-Worksheet to read from.
- bHeader
- Type: System..::.Boolean
Pass true, if the first line should be interpreted as headers.
- type
- Type: InfigoSDK..::.InfigoDataSourceFactory..::.ExcelType
The Excel file type InfigoDataSourceFactory..::.ExcelType.