草庐IT

pchardwaredetails

全部标签

c# - 如何在 asp.net c# 中使用 response.redirect() 重定向到上一页

现在我有一个文件夹,里面有另一个文件夹。这两个文件夹名称分别是“pcdetails”和“pchardwaredetails”当在“pchardwaredetails”页面上时,我想使用按钮和response.redirect()返回到“pcdetails”页面,但文件路径对我来说太复杂了。从“pchardwaredetails”中名为“Details”的页面到“pcdetails”中名为“viewMore”的页面的文件路径可能是什么?也请随时解释路径是如何工作的,以便我将来知道谢谢 最佳答案 通常页面的Referrer(HTTPhe

c# - 如何在 asp.net c# 中使用 response.redirect() 重定向到上一页

现在我有一个文件夹,里面有另一个文件夹。这两个文件夹名称分别是“pcdetails”和“pchardwaredetails”当在“pchardwaredetails”页面上时,我想使用按钮和response.redirect()返回到“pcdetails”页面,但文件路径对我来说太复杂了。从“pchardwaredetails”中名为“Details”的页面到“pcdetails”中名为“viewMore”的页面的文件路径可能是什么?也请随时解释路径是如何工作的,以便我将来知道谢谢 最佳答案 通常页面的Referrer(HTTPhe