zoukankan      html  css  js  c++  java
  • SQL2005中的字段类型对应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

    varbinary

    System.Byte[]

    varchar

    String

    Variant

    Object

    unique identifier

    System.Guid

  • 相关阅读:
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    Code froces 831 A. Unimodal Array
    无聊随便敲敲
  • 原文地址:https://www.cnblogs.com/minideas/p/1497425.html
Copyright © 2011-2022 走看看