詹姆士的部落格

.NET 「Microsoft JScript 執行階段錯誤: 使用中的 SQL Server 版本不支援資料型別 ‘date’。」

by 詹 姆士 on 十一月.09, 2009, under 未分類

在使用VS2008開發WEB FORM時,測試「更新」功能時出現「Microsoft JScript 執行階段錯誤: Sys.WebForms.PageRequestManagerServerErrorException: 使用中的 SQL Server 版本不支援資料型別 ‘date’。」


發現是因為VS在產生ASP.NET UPDATE程式碼時,把datetime的欄位型態,變成date,
只要於程式碼上修正為datetime即可正常執行。

No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!