Skip to content

Enum eDataTypes

Namespace: OfficeOpenXml
Assembly: EPPlus.dll

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

public enum eDataTypes

Fields

Unknown = 0

Let the the import decide.

String = 1

Always a string.

Number = 2

Try to convert it to a number. If it fails then add it as a string.

DateTime = 3

Try to convert it to a date. If it fails then add it as a string.

Percent = 4

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.