OleDbType - enumeration

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top