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...
精彩评论