首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

The conversion of a char data type to a datetime data type

2012-01-22 
Theconversionofachardatatypetoadatetimedatatyperesultedinanout-of-rangedatetime程序移动到别的电脑上

The conversion of a char data type to a datetime data type resulted in an out-of-range datetime
程序移动到别的电脑上,数据查询只要是带时间判断的就出错
但是同样的SQL语句在SQL   查询分析器并没有错误
就是在程序中出错
??????


[解决办法]
程序中的DateTime类型 和数据库中的类型不匹配
先进行转换一下

热点排行