开发者

Date inserted in 1900-01-01 format

When i am insert date through ajax calenderExtender selected开发者_如何转开发 date format is '1900-01-01' is saved in Sql server 2008 database,

I want to save the date as selected date in database. Please help me..


If the value (not format) is '1900-01-01' and the column is date or datetime, then you are sending an empty string

An empty string casts to zero (int, float) or '01 Jan 1900' (date etc). This date is the "zero" date for SQL Server...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜