数据库 | C#程序 |
int | int32 |
text | string |
bigint | int64 |
binary | System.Byte[] |
bit | Boolean |
char | string |
datetime | System.DateTime |
decimal | System.Decimal |
float | System.Double |
image | System.Byte[] |
money | System.Decimal |
nchar | String |
ntext | String |
numeric | System.Decimal |
nvarchar | String |
real | System.Single |
smalldatetime | System.DateTime |
smallint | Int16 |
smallmoney | System.Decimal |
timestamp | System.DateTime |
tinyint | System.Byte |
varbinary | System.Byte[] |
varchar | String |
Variant | Object |
unique identifier | System.Guid |
2--> "int";
3--> "int";
4--> "Single";
5--> "double";
6--> "decimal";
7--> "DateTime";
11--> "bool";
17--> "byte";
72--> "string";
130--> "string";
131--> "decimal";
128--> "string";