SQLDBType.date

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rbrowning1958

    #1

    SQLDBType.date

    Hello,

    Trying to compile some code I was given. Vs 2005 patches applied
    AFAICT. Help / About reports visual studio versiopn 8.0.50727.867 and
    framework version 2.0.50727.

    Code references SqlDbType.date and receives compilation error that the
    enumeration does not contain a definition for Date. I looked at the
    definition and sure enough my enumeration ends with:

    // Summary:
    // A SQL Server 2005 user-defined type (UDT).
    Udt = 29,

    Colleague's machine shows the enumeration with 5 additional values
    including Date. What's up with this?

    Cheers

    Ray
Working...