OleDbType - enumeration

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QUEyZTcyRQ==?=

    #1

    OleDbType - enumeration

    How can I fill an array for each type in OleDbType where column1 is the
    literal and column 2 is its numeric value as string?

    BigInt 20
    Binary 128
    etc.

    Thanks.
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: OleDbType - enumeration

    You can use the static GetNames and GetValues methods on the Enum class
    to get the names and the values for the OleDbType enumeration and populate
    your array.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "AA2e72E" <AA2e72E@discus sions.microsoft .comwrote in message
    news:00A0D72D-4EE8-4392-987A-AC7FB99CF3EC@mi crosoft.com...
    How can I fill an array for each type in OleDbType where column1 is the
    literal and column 2 is its numeric value as string?
    >
    BigInt 20
    Binary 128
    etc.
    >
    Thanks.

    Comment

    Working...