zoukankan      html  css  js  c++  java
  • 数据库SQL Server与C#中数据类型的对应关系

    ylbtech- .NET-Basic:数据库SQL Server与C#中数据类型的对应关系

     数据库SQL SServer与C#中数据类型的对应关系

    1.A,返回顶部

    数据库

    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


    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    抽象类和接口
    回调函数
    Spring Aop、拦截器、过滤器的区别
    事务
    SQL 模糊查询条件的四种匹配模式
    shell编程(二)
    shell编程(一)
    shell介绍
    字符验证码
    selenium
  • 原文地址:https://www.cnblogs.com/ylbtech/p/3187607.html
Copyright © 2011-2022 走看看