Assembly: Dt;
Namespace: Prognoz.Platform.Interop.Dt;
The IDtExcelProviderEx interface is used to collect data from Excel provider (*.xlsx).
IDtExcelProviderEx
Advantages of IDtExcelProviderEx comparing to IDtExcelProvider:
Loading of data from Excel to a time series database is available if 64x operating system is used.
The IDtObjectMetaData.Tables method returns sheets list only.
Rows with length more than 255 symbols are read correctly from XLSX files and more than 255 columns are downloaded.
Problems with reading data of different types from xlsx file are solved.
Problems with downloading string values with mixed fonts: regular and italic are solved.
IMPORTANT. The file the user is working with, should be closed and should not be used by other applications.
Property name | Brief description | |
The DataRow property determines the index of the initial row, that contains data. | ||
The File property determines the entire name of the data source file. | ||
The Format property determines format of the source file. | ||
The HasHeader property determines whether the source file contains the row with data headers. | ||
The HeaderRow property determines the row index in the source file, that contains data headers. | ||
The Sheet property determines the name of the sheet, on which data is located. |
Property name | Brief description | |
The AutoFillFieldsMode property determines the field type detection mode of the data provider. | ||
The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation. | ||
The Eof property returns True if the cursor in the data source is on the last record. | ||
The FetchErrors property returns errors occurred on data import. | ||
The FilterIf property returns condition of loading of records from data provider. | ||
The StringDataFormat property returns settings used on data identification. | ||
The TypeGuessRows property determines number of rows by means of which the data type of each field will be determined. |
Property name | Brief description | |
The Active property returns data source or data consumer state. | ||
The Fields property returns data provider/data consumer fields description. | ||
The GetType property returns data provider/data consumer type. | ||
The Metabase property determines the repository, in which data is imported or exported. |
Method name | Brief description | |
The Fetch method reads data of the current entry from the data provider. | ||
The FetchRows method reads data of the specified number of entries from the data provider and returns the number of actually read entries. | ||
The ReadingRowsCount method returns the number of records read from the data source with taking into account loading condition. | ||
The ReadingRowsTotalCount method returns the number of records read from the data source without taking into account loading condition. |
Method name | Brief description | |
The ClearFields method clears fields list of the data provider or data consumer. | ||
The Close method closes data provider or data consumer. | ||
The FieldsFromFile method reads fields list from the source file. | ||
The Load method loads data source or data consumer parameters from XML. | ||
The Open method opens data provider or data consumer. | ||
The Save method saves data source or data consumer parameters in XML format. |
See also: