GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ColumnTypeResolution Enum

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Defines resolution method that determines System.Data.DataColumn.DataType.

    • C#
    • VB.NET
    public enum ColumnTypeResolution
    Public Enum ColumnTypeResolution
    Remarks

    System.Data.DataColumn.DataType is determined by the ColumnTypeResolution and by exploring types of all Value in some column. Column type can be System.Boolean, System.Int32, System.Double, System.DateTime, System.String or System.Object.

    Fields

    Auto

    If all values in some column have the same type then that type will be used for System.Data.DataColumn.DataType, otherwise column will be of type System.Object.

    AutoPreferStringCurrentCulture

    If all values in some column have the same type then that type will be used for System.Data.DataColumn.DataType, otherwise column will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.CurrentCulture will be used.

    AutoPreferStringInvariantCulture

    If all values in some column have the same type then that type will be used for System.Data.DataColumn.DataType, otherwise column will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.InvariantCulture will be used.

    Object

    All columns will be of type System.Object.

    StringCurrentCulture

    All columns will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.CurrentCulture will be used.

    StringInvariantCulture

    All columns will be of type System.String. For conversion from some Value to string System.Globalization.CultureInfo.InvariantCulture will be used.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.