eDataTypes Enumeration

Office Open XML

Discribes a column when reading a text using the ExcelRangeBase.LoadFromText method

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public enum eDataTypes
Visual Basic (Declaration)
Public Enumeration eDataTypes
Visual C++
public enum class eDataTypes

Members

Member nameDescription
Unknown
Let the the import decide.
String
Always a string.
Number
Try to convert it to a number. If it fails then add it as a string.
DateTime
Try to convert it to a date. If it fails then add it as a string.
Percent
Try to convert it to a number and divide with 100. Removes any tailing percent sign (%). If it fails then add it as a string.

See Also