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.
我正在尝试使用windows.location重定向到我的 Web 应用程序中的另一个页面,但它向我显示了上述错误,那么应该将哪些文件添加到页面中以使用相同的文件?任何帮助将不胜感激。
是的,asp.net 中没有window.location。而是尝试在 response.redirect 中使用布尔值 true 作为 Response.Redirect("default.aspx",True);