OleDbType enumeration type with Microsoft Access Data Types

Sometimes customers do not necessarily make us choose what to use when the database

program, after all, is the development of the customer's

environment is also provided by the customer


Sometimes customers do not necessarily make us choose what to use when the database

After all, the program is the development of customer

Environment is also provided by the customer

and also

.

..

...

Pay is the boss !!

cloudio have access in order to use the database when the stumbled for a while

Because with access sql data type is not the same

In order to use the time not afraid temporary data

I think I'd put him first posted it here

There can also refer people in need

Access Type Name Database data types OLE DB type . NET Framework type Member name]
Writing VarWChar DBTYPE_WSTR System . String OleDbType.VarWChar
MEMO LongVarWCha r DBTYPE_WSTR System . String OleDbType.LongVarWChar
The number of bytes: UnsignedTinyInt DBTYPE_UI1 System . Byte OleDbType.UnsignedTinyInt
Yes / No Boolean value DBTYPE_BOOL System . Boolean OleDbType.Boolean
Date / Time DateTime DBTYPE_DATE System . DateTime OleDbType.date
currency Decimal DBTYPE_NUMERIC System . Decimal OleDbType.numeric
Decimal: Decimal DBTYPE_NUMERIC System . Decimal OleDbType.numeric
Double the number of: Double-precision floating-point number DBTYPE_R 8 System . Double OleDbType.Double
Autonumber replication (ID) GUID DBTYPE_GUID System.Guid OleDbType.guid
Replication (ID) number: GUID DBTYPE_GUID System.Guid OleDbType.guid
AutoNumber (long) Integer DBTYPE_I4 System . Int 32 OleDbType.integer
(Long Integer) Number: Integer DBTYPE_I4 System . Int 32 OleDbType.integer
OLE objects LongVarBinary DBTYPE_BYTES System. Byte array OleDbType.LongVarBinary
Single Number: single DBTYPE_R4 System . Single OleDbType.single
The number of integers: SmallInt DBTYPE_I2 System . Int 16 OleDbType.SmallInt
Binary VarBinary * DBTYPE_BYTES System. Byte array OleDbType.binary
Hyperlink VarWChar DBTYPE_WSTR System . String OleDbType.VarWChar

OleDbType enumeration type with Microsoft Access Data Types

Original: Big Box  OleDbType enumeration type with Microsoft Access Data Types


Guess you like

Origin www.cnblogs.com/chinatrump/p/11514242.html