【发布时间】:2014-07-09 01:55:16
【问题描述】:
我正在 Windows Phone 上使用 localDB,我想使用 datetime。每次我得到错误
An exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.Linq.ni.dll but was not handled in user code
内部异常是
When converting data type datetime overflow occurred.
列定义简单(VB.NET)
<Column(CanBeNull:=True)>
Public Property Expiration As DateTime
为什么每次转换数据类型时都会出错?日期时间溢出?
【问题讨论】:
标签: vb.net datetime windows-phone type-conversion localdb