Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试在本地主机上打开 asp.net 日历时,它工作正常,但是当我在发布项目后将其托管在 ftp 上时,日历遇到错误,因为“字符串未被识别为有效的日期时间”。我们该怎么办?
我可能与您的全球化设置有关,请尝试在 web.config 中覆盖您的系统设置,以确保在两台机器上您具有相同的设置。例如:
<configuration> <system.web> <globalization uiCulture="es" culture="es-MX" /> </system.web> </configuration>
在下面的页面上,您可以找到更多信息:
如何:设置 ASP.NET 网页全球化的文化和 UI 文化