Equivalent type in .net ?????? RRS feed

  • Question

  • hi,
       i have a field as numeric in SQL server 2000.
    I find all matching field in .net by using SqlDbType
    But i cound not find any equivalent of numeric.

    Can anybody let me know what is that equivalent type ????

    thanx in advance
    Thursday, April 24, 2008 3:47 PM


  • In SQL Server NUMERIC is synonymous with DECIMAL.

    So it is System.Decimal (or its synonym decimal in C#).
    Thursday, April 24, 2008 4:33 PM