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.
我正在尝试生成一个 vCalendar,但我收到一个错误“在这种情况下没有响应”
在 Response.ContentType = "text/x-vcalendar" 上。
我正在使用 vb.net 1.1 框架。
有任何想法吗?
-米希尔
如果您的代码包含在一个类中,您可能无法访问响应。您可以尝试使用 HttpContext.Current.Response.ContentType。