插入日期错误 [英] insert error of date

查看:85
本文介绍了插入日期错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

算术溢出错误将表达式转换为数据类型datetime,语句已终止.发现它很有用.

http://forums.asp.net/p/1027997/1406008.aspx/1?Re+算术+溢出+错误+转换+表达式+到+数据+类型+日期时间

http://www.dotnetfunda.com/forums/thread6589-arithmetic-overflow-error-conversioning-expression-to-data-type-datetime.aspx


希望有帮助!


最简单的解决方案是,转到控制面板"的区域设置",并将日期格式更改为"dd-MMM-yy".您的问题将得到解决.


arithmetic overflow error converting expression to data type datetime the statement has been terminated.

解决方案

I found similar discussions on other forum/coding sites. Found it useful.

http://forums.asp.net/p/1027997/1406008.aspx/1?Re+Arithmetic+overflow+error+converting+expression+to+data+type+datetime

http://www.dotnetfunda.com/forums/thread6589-arithmetic-overflow-error-converting-expression-to-data-type-datetime.aspx


Hope this help!


Simplest solution is that, you go to Control panel, Regional setting & change the date format as "dd-MMM-yy". Your problem will get solved.


这篇关于插入日期错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆