Assembly: Dt;
Namespace: Prognoz.Platform.Interop.Dt
The DtExcelConsumerEx class loads data to Excel consumer.
Advantages of IDtExcelConsumerEx comparing to DtExcelConsumer:
Loading of data headers is available.
Rows with length more than 255 symbols are exported.
For exporting data a new sheet is created, or existing one is cleared.
Links in formulas from other sheets are stored.
Apostrophe is not pasted before string values.
During export in the sheet, the name of which starts from a digital, in the beginning of the sheet name the low underlining is not substituted.
Property name | Brief description | |
The File property determines the entire name of the file, in which data is loaded. | ||
The ForeFullCalculation property determines whether a workbook is force calculated on opening. | ||
The HasHeader property determines whether to load consumer file into the row with data headers. | ||
The Sheet property determines name of the sheet, on which data is loaded. |
Property name | Brief description | |
The CalcFieldsErrors property returns a collection of errors appeared on calculated fields calculation. |
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 Clear method clears a data consumer. | ||
The Put method records values array into the data consumer. | ||
The PutRow method loads values row into the data consumer. | ||
The PutProvider method exports all the values of the specified data provider into the data consumer. | ||
The WritingRowsCount method returns the number of records written to the data consumer. |
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: