zoukankan      html  css  js  c++  java
  • 数据库中字段类型对应C#中的数据类型

    数据库中字段类型对应C#中的数据类型:
    数据库 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
    uniqueidentifier    System.Guid
    varbinary       System.Byte[]
    varchar        String
    Variant        Object

  • 相关阅读:
    设计模式
    C++下char/string跟int型转换比较
    function
    流程控制
    运算符
    type
    language
    phpbasic
    html标签集合
    课题六
  • 原文地址:https://www.cnblogs.com/guojian/p/5821659.html
Copyright © 2011-2022 走看看